Liquid XML Data Binder (C++, Java, VB6) / Reference / Java / Reference / com.liquid_technologies.ltxmllib20 / DOM / XmlElement / Java getAttributes - XmlElement
In This Topic
    Java getAttributes - XmlElement
    In This Topic
    XmlAttributeCol getAttributes()
      Property Description  
        Property Name getAttributes  
        Description Gets a collection of all the contained attributes  
        Remarks If the this class represented the element 'cust:Customer', then getAttributes would return a collection containing 5 attributes xmlns:cust, xmlns:xsi, xsi:schemaLocation, clubCardMember & cust:customerID.

    <?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>