standard.lib.xml.xmlHasProp

xmlHasProp is available since version 1.0.

Prototype:

number xmlHasProp(number node, string name)

Parameters

node
the node
name
the attribute name

Description:

Search an attribute associated to a node. This function also looks in DTD attribute declaration for #FIXED or default declaration values unless DTD use has been turned off.

Return value:

Returns the attribute handle, or null if not found.