X
PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 13 May 2005 02:37 PM by  anon
XML writer
 1 Replies
Sort:
You are not authorized to post a reply.
Author Messages

anon



New Member


Posts:
New Member


--
13 May 2005 02:37 PM
    We are looking for a way in IDL to write modified fields into an existing XML file - we are using existing read and parse functions to extract data from the file.

    Deleted User



    New Member


    Posts:
    New Member


    --
    13 May 2005 02:37 PM
    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
    You are not authorized to post a reply.