THtmlNode() > Html Attribute methods |
Returns all HTML attributes.
:getAttributes() --> hHash
Method :getAttributes() returns all HTML attributes as a Hash. The hash keys are the attribute names present in the THtmlNode object and the hash values are the corresponding attribute values. If the HTML tag has never an attribute, the return value is NIL (e.g. <layer> or <!-- comment -->). If the HTML tag may have attributes, but no attribute is set, an empty hash is returned.
http://www.xHarbour.com