domxml_get_attribute

(PHP 4 >= 4.0.5)

domxml_get_attribute --  Returns a certain attribute of a node

Description

object domxml_get_attribute ( resource node, string name)

Warning

This function is EXPERIMENTAL. The behaviour of this function, the name of this function, and anything else documented about this function may change in a future release of PHP without notice. Be warned and use this function at your own risk.

Returns the attribute with name name of the given node.

See also domxml_set_attribute()