iLogic: Export to XML

iLogic: Export to XML

b.graaf
Advocate Advocate
1,898 Views
3 Replies
Message 1 of 4

iLogic: Export to XML

b.graaf
Advocate
Advocate

Is it possible to create an XML file with iLogic with, for example, Imports System.XML?

 

Or do I have to save a text file and add the "<" and ">"mself to become an XML structure?

0 Likes
Accepted solutions (1)
1,899 Views
3 Replies
Replies (3)
Message 2 of 4

t_hascj
Autodesk
Autodesk
Accepted solution

Hi b.graaf,

Yes, it is possible. Code how support XDocument in iLogic.

AddReference "System.Linq"
AddReference "System.Xml"
AddReference "System.Xml.Linq"
AddReference "System.Core"

Imports System.Linq
Imports System.Xml
Imports System.Xml.Linq
Imports System.Xml.Schema

 

Here https://docs.microsoft.com/en-us/dotnet/visual-basic/programming-guide/language-features/xml/ is some instructions and examples how to work with this in VBA.


Thanks,
Jaroslav

Message 3 of 4

b.graaf
Advocate
Advocate

Tnx! 

I did the Import thing, but had not used the AddReference!

 

 

0 Likes
Message 4 of 4

tawadev
Participant
Participant

 

 

 

0 Likes