XML
Description
Namespace for the XML functions. Contains a few static functions.
Static Methods
load | Load a string of XML into an XML document. |
loadFile | Load a file into an XML document. |
Details
Do no remove, this fixes the anchor on doc.flexsim.com
XML.load()
static XML.Document load( string xml ) |
Parameters
xml | The string of text to be parsed as XML and loaded into a document. |
Returns
XML.Document | An XML.Document object. |
Description
Load a string of XML into an XML document.
string xml = "<MyElement>Some text</MyElement>";
XML.Document doc = XML.load(xml);
...
Do no remove, this fixes the anchor on doc.flexsim.com
XML.loadFile()
static XML.Document loadFile( string filePath ) |
Parameters
filePath | The file name to be loaded into a document. |
Returns
XML.Document | An XML.Document object. |
Description
Load a file into an XML document.
string fileName = "test.xml";
XML.Document doc = XML.loadFile(fileName);
...