PHP
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

DomElement->tagname> <DomElement->remove_attribute
Last updated: Fri, 18 Jul 2008

view this page in

DomElement->set_attribute

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

DomElement->set_attribute — Valorizza un attributo

Descrizione

domattribute DomElement->set_attribute ( string $nome , string $valore )

Imposta l'attributo chiamato nome al valore fornito. Se l'attributo non esiste lo crea.

Example #1 Valorizzazione di un attributo

<?php
$doc 
domxml_new_doc("1.0");
$node $doc->create_element("para");
$newnode $doc->append_child($node);
$newnode->set_attribute("align""left");
?>

Vedere anche domelement_get_attribute()



add a note add a note User Contributed Notes
DomElement->set_attribute
There are no user contributed notes for this page.

DomElement->tagname> <DomElement->remove_attribute
Last updated: Fri, 18 Jul 2008
 
 
show source | credits | stats | sitemap | contact | advertising | mirror sites