parseString(inputDocument: String) updating;
The parseString method of the JadeXMLDocument class parses the XML document string specified in the inputDocument parameter and creates a tree of nodes representing the document. (See also the JadeXMLDocumentParser class parseDocumentString method.)
The following example shows the use of the parseString method.
vars doc : JadeXMLDocument; begin create doc; doc.parseString('<employee>John Smith</employee>'); end;
Any existing child nodes in the document object are removed before the tree is created.