I am working on a project to generate XML documents. Currently I explore XML toolkit and XML extender. However, I am believing the best option for use is to call a java program from RPG ILE to generate the XML document. I am wondering if anyone has an example of creating an XML document using JDOM through RPG ILE. I have JDOM loaded on the iSeries but I am struggle with the prototyping to call the java programs. Any help would be greatly appreciated.