A suite of service programs which enable the easy generation of XML or HTML from within RPG.
XMLi1 enables the building of XML within RPG using procedure calls. Data can be written to your program variables or pointers.
XMLi2 provides an XML-based scripting language that makes XML generation easy. Simply write a template of your desired XML/HTML and use imbedded SQL queries to build your data. 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.
Runs on IBM i (iSeries, Series, AS/400)