XML for RPG and Procedural Languages Documentation |
|
Building the RPG samples
Before you can create the modules you may need to include the library that has the header files in the user library list.
Whenever you see <progname> replace it with the name of a program from the list below. Here is a listing of the RPG sample programs provided:
CreateXML - Illustrates how to create a DOM tree in memory and then output it to an IFS stream file. Create284 - Illustrates how to create a DOM tree in memory and then output it to an IFS stream file in CCSID 284, Spanish DOMPrint - Uses the DOM parser to print the supplied XML document using the new XMLFormatter APIs. PParse - Uses the SAX parser to count the number of elements in an XML file using progressive parsing. SAXCount - Uses the SAX parser to count the number of elements in an XML file. DOMCount - Uses the DOM parser to count the number of elements in an XML file. MEMParse - Uses the SAX parser to parse from a memory buffer input source. Redirect - This program redirects the DTD of the XML file to another one in the source. SAXPrint - Uses the SAX parser to print the supplied XML document with the XMLFormatter. SAX2Count - Uses the SAX2 parser APIs to count the number of elements in an XML file. SAX2Print - Uses the SAX2 parser APIs and the XMLFormatter to print the contents of an XML file. SetRmvAttr - In this example a DOM_Node of type Element will be implicitly cast to DOM_Element in calls to QxmlDOM_Element_removeAttribute and QxmlDOM_Element_setAttribute |
|
![]() | XML4PR - XML4C Interface Wrapper for RPG, C and COBOL
Copyright 2000,2001,2002 International Business Machines. All Rights Reserved. |