Forum und email

DomNode->attributes

(No version information available, might be only in CVS)

DomNode->attributes — Retourne la liste des attributs

Description

array DomNode->attributes ( void )

DomNode->attributes() retourne un tableau avec les attributs du noeud si le noeud est de type XML_ELEMENT_NODE.

(PHP >= 4.3 uniquement) Si aucun attribut n'est trouvé, NULL est retourné.