Property | Description | |||
Property Name | parse | |||
Description | Populates the XmlDocument from an standard XML node (as used by xerces, and other DOM parsers) | |||
Remarks |
This method allows you to re-use XML documents that have already been parsed using another parser (e.g. xerces). org.w3c.dom.Element docElm = ...; // parsed previously in users code. com.liquid_technologies.ltxmllib20.dom.XmlDocumentXerces ltXmlDoc = new com.liquid_technologies.ltxmllib20.dom.XmlDocument(); ltXmlDoc.parse(docElm); GeneratedClass cls = new GeneratedClass(); cls.FromXmlElement(ltXmlDoc.getDocumentElement(); // cls is now loaded with data from docElm. |