Parsing XML and extracting data for parameters in ilogic

Parsing XML and extracting data for parameters in ilogic

ahmed.hagi
Enthusiast Enthusiast
1,245 Views
2 Replies
Message 1 of 3

Parsing XML and extracting data for parameters in ilogic

ahmed.hagi
Enthusiast
Enthusiast

I'm trying to parse an xml and assign the values from the xml to parameters in the document through an ilogic rule.

I can't seem to import the msxml2.dll or add it as a reference. 

 

ahmedhagi_0-1646314414114.png

 

 

Is there another way to parse an xml, extract the data and set it to parameters in the document?

I don't want to use VBA because this needs to be linked to this template file and run when the user imports the xml from wherever they have it saved.

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

jjstr8
Collaborator
Collaborator
Accepted solution

I suggest the .NET XML library.  You can work out the code details in a stand-alone app in Visual Studio first, where you have real debugging capability.  Once you have the code working, port it to iLogic.

 

AddReference "System.Xml.dll"

 

0 Likes
Message 3 of 3

ahmed.hagi
Enthusiast
Enthusiast
Sounds like a good idea. I'll have to do that.


0 Likes