An Introduction to Processing XML With RPG, Part 2
August 18, 2015 Jon Paris
Note: The code accompanying this article is available for download here. In the first part of this series I introduced you to the basics of using RPG’s XML-INTO op-code. In that tip I showed how the provision of a count provided by RPG in the PSDS can be used to determine how many of a repeating element were processed. However, as I noted at the time, this can only be used when handling a repeating outer element. But what if there is a repeating element within each of those outer elements? In this second part of the series we |