XMLi
Easy XML generation in ILE RPG
...Pass parameters to the template from your RPG to be used in your SQL queries. Conditional logic 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.
...