An Introduction To Processing XML With RPG, Part 1: The Basics
August 4, 2015 Jon Paris
Note: The code accompanying this article is available for download here.
RPG IV’s built-in XML support has been available for some time now, having been originally introduced with V5R4 back in 2006. Due to deficiencies in that release, many RPG’ers chose not to use RPG to process XML. Fortunately, IBM has corrected those deficiencies, and RPG provides a smart way to read XML. Here’s how it’s done.
In that first release, the most powerful of the op codes, XML-INTO, had some gaps in its support that sometimes made it difficult to use without pre-processing the XML. In addition, the