THtmlNode() > Html Attribute methods xHarbour Developers Network  

oTHtmlNode:getAttributes()

Returns all HTML attributes.

Syntax

:getAttributes() --> hHash

Description

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.


Copyright © 2006-2007 xHarbour.com Inc. All rights reserved.
http://www.xHarbour.com
Created by docmaker.exe