Liquid XML Data Binder (C++, Java, VB6) / Reference / Java / Reference / com.liquid_technologies.ltxmllib20 / DOM / XmlElement / Java getFirstChildElement - XmlElement
In This Topic
    Java getFirstChildElement - XmlElement
    In This Topic
    XmlElement getFirstChildElement()
      Property Description  
        Property Name getFirstChildElement  
        Description Gets this elements first child (or null of it has no children)  
        Remarks If the this class represented the element 'cust:Customer', then getFirstChildElement an XmlElement representing 'FirstName'.

    <?xml version="1.0" encoding="UTF-8"?>
    <cust:Customer xmlns:cust="http://sample"
                            xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                            xsi:schemaLocation="http://sample ElmNamespaceQualification.xsd"
                            clubCardMember="true"
                            cust:customerID="1234">
        <FirstName>Ray</FirstName>
        <MiddleInitial>G</MiddleInitial>
        <cust:LastName>Bayliss</cust:LastName>
    </cust:Customer>