(PHP 5, PHP 7)
Checks if node has attributes
public bool DOMNode::hasAttributes ( void )
This method checks if the node has attributes. The tested node has to be an XML_ELEMENT_NODE
.
Returns:
Returns TRUE
on success or FALSE
on failure.
See also:
Please login to continue.