XMLi
Easy XML generation in ILE RPG
... is provided by IF and CHOOSE blocks, and looping constructs are provided by DOW/DOU/FOR loops. Looping through SQL queries is provided using FOR-EACH. Data can be written to the IFS, standard output, or passed to a call-back procedure.
Extend the XMLi language via your own extensions written in RPG. These allow you to call your own business logic from within a running template.
100% ILE RPG - source available in download, and at SVN repository.
Runs on IBM i (iSeries, Series, AS/400)