MoneyWorks Manual
XMLParseFile (path [, nsList])
Result type: An XML document handle
Definition: Parses the XML file. Call this once to parse an entire XML file which you may then navigate using XPathEval. When finished with the document, free it with XMLFree.
If the XML document uses namespaces, evaluating XPaths on it will require the namespaces to be registered. You can provide the namespaces in a space separated list in a string with entries in the form ns=uri
(e.g. "svg=http://www.w3.org/2000/svg dc=http://purl.org/dc/elements/1.1/"
).
Availability: MWScript scripts in MoneyWorks Gold v8.1.1 and later
Suite: This function is part of the LibXML/Xpath XML parsing suite of functions.
See Also:
XMLFree: Free an XML document
XMLParseString: Parse an XML string to an XML document
XPathEval: Extract a node or value from an XML document using XPath notation.