standard.lib.xml.xmlGetProp

xmlGetProp is available since version 1.0.

Prototype:

string xmlGetProp(number node, string name)

Parameters

node
the node
name
the attribute name

Description:

Search and get the value of an attribute associated to a node. This does the entity substitution. This function looks in DTD attribute declaration for #FIXED or default declaration values unless DTD use has been turned off.

NOTE: this function acts independently of namespaces associated to the attribute. Use xmlGetNsProp for namespace aware processing.

Return value:

Return the attribute value or an empty string.