Attenzione |
Questa funzione è SPERIMENTALE. Ovvero, il comportamento di questa funzione, il nome di questa funzione, in definitiva TUTTO ciò che è documentato qui può cambiare nei futuri rilasci del PHP SENZA PREAVVISO. Siete avvisati, l'uso di questo modulo è a vostro rischio. |
Sets an attribute with name name of the given node on a value.
If we take the example from domxml_add_root() it is simple to add an attribute to the HEAD element by the simply calling the set_attribute() function of the node class.