Liquid XML Data Binder 2019
Java parse - XmlDocument
Liquid XML Data Binder (C++, Java, VB6) > Reference > Java > Reference > com.liquid_technologies.ltxmllib17 > DOM > XmlDocument > Java parse - XmlDocument
public void parse(org.w3c.dom.Element documentElm);
  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.ltxmllib17.dom.XmlDocumentXerces ltXmlDoc = new com.liquid_technologies.ltxmllib17.dom.XmlDocument();

ltXmlDoc.parse(docElm);

GeneratedClass cls = new GeneratedClass();

cls.FromXmlElement(ltXmlDoc.getDocumentElement();

// cls is now loaded with data from docElm.