Reads an XML file from disk to create XML document.
Syntax
INT XMLOpen(STRING sFilePath)
sFilePath
Absolute path of XML file
Return Value
Handle of the XML document, or -1 on error.
Related Functions
XMLClose, XMLCreate, XMLGetAttribute, XMLGetAttributeCount, XMLGetAttributeName, XMLGetAttributeValue, XMLGetChild, XMLGetChildCount, XMLGetParent, XMLGetRoot, XMLNodeAddChild, XMLNodeFind, XMLNodeGetName, XMLNodeGetValue, XMLNodeRemove, XMLNodeSetValue, XMLSave, XMLSetAttribute
Example
Following example reads disk file "H:\Data\books.xml" to create XML document.
INT hDoc, hNode; hDoc=XMLOpen("H:\Data\books.xml");
See Also
Published June 2018