XML File Manipulation Functions
XML file manipulation functions
XML file manipulation functions allow to load and save an XML document, create, read, write and delete XML elements and attributes. Function names are created by the prefix %XML_.
Example:
INT _doc
_doc := %XML_CreateDocument()
INT _el
_el := %XML_AddElement(_doc, "element")INT _txt_txt := %XML_AddTextNode(_el, "element contents")BOOL _ok_ok := %XML_SaveDocument(_doc, "c:\document.xml")There is created an empty XML document. The element is inserted into the document and the text is inserted into the element. Finally, the XML document is saved on the disk.
%XML file manipulation functions:
Related pages: