I do not have the XML toolkit package on my i5 525. We are running V5R4. Is there still a way for me to import XML files and run in RPG ILE? I have a customer that wants to send us orders via email and XML is one of the formats they could provide for us.
Software/Hardware used:
ASKED:
August 18, 2008 2:09 PM
UPDATED:
August 18, 2008 6:32 PM
You might also want to look at the RPG commands XML-INTO and XML-SAX
As of V5R4, RPG has support for reading XML. There is an XML-INTO operation code, which reads the contents of an XML document directly into an RPG variable, which can be a field, array, data structure, or data structure array. Also, there is an XML-SAX operation.
I haven’t worked with XML as of yet, but these new op-codes sound useful.
Sorry Graybeard, I didn’t see your answer until I had already posted mine.