DomNode->has_attributes Checks if node has attributes Description boolDomNode->has_attributes This function checks if the node has attributes. See also domnode_has_child_nodes.