IDL has two classes and a large number of methods that interface with the freely distributed Xerces XML SAX and DOM parsers (which are also installed in the basic IDL installation). To start to learn these interfaces, you might start in the Online Help article indexed under 'XML -> parsers -> defined'. You will see there that code like the following:
oXML = OBJ_NEW('IDLffXMLDOMDocument')
oElement = oXML->CreateElement('myElement')
oVoid = oXML->AppendChild(oElement)
oXML->Save, FILENAME='myXMLfile.xml'
OBJ_DESTROY, oDocument
is one example of a simple approach to getting XML file-writing started.
J3
|