cvs: phpdoc-it /reference/domxml/functions DomElement-remove-attribute.xml DomElement-set-attribute-node.xml DomElement-set-attribute.xml
DomElement-tagname.xml DomNode-add-namespace.xml DomNode-append-child.xml

From: Date: Wed, 08 Jun 2005 12:31:00 +0000
Subject: cvs: phpdoc-it /reference/domxml/functions DomElement-remove-attribute.xml DomElement-set-attribute-node.xml DomElement-set-attribute.xml
DomElement-tagname.xml DomNode-add-namespace.xml DomNode-append-child.xml
Groups: php.doc.it 
Request: Send a blank email to doc-it+get-733@lists.php.net to get a copy of this message
darvina Wed Jun 8 08:31:00 2005 EDT Modified files: /phpdoc-it/reference/domxml/functions DomElement-remove-attribute.xml DomElement-set-attribute-node.xml DomElement-set-attribute.xml DomElement-tagname.xml DomNode-add-namespace.xml DomNode-append-child.xml Log: Sync to En tree

http://cvs.php.net/diff.php/phpdoc-it/reference/domxml/functions/DomElement-remove-attribute.xml?r1=1.3&r2=1.4&ty=u Index: phpdoc-it/reference/domxml/functions/DomElement-remove-attribute.xml diff -u phpdoc-it/reference/domxml/functions/DomElement-remove-attribute.xml:1.3 phpdoc-it/reference/domxml/functions/DomElement-remove-attribute.xml:1.4 --- phpdoc-it/reference/domxml/functions/DomElement-remove-attribute.xml:1.3 Tue Jun 8 08:09:27 2004 +++ phpdoc-it/reference/domxml/functions/DomElement-remove-attribute.xml Wed Jun 8 08:30:57 2005 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- EN-Revision: 1.4 Maintainer: darvina Status: ready --> +<!-- EN-Revision: 1.5 Maintainer: darvina Status: ready --> <!-- splitted from ./en/functions/domxml.xml, last change in rev 1.38 --> <refentry id='function.domelement-remove-attribute'> <refnamediv> @@ -9,7 +9,7 @@ </refpurpose> </refnamediv> <refsect1> - <title>Descrizione</title> + &reftitle.description; <methodsynopsis> <type>bool</type><methodname>DomElement->remove_attribute</methodname> <methodparam><type>string</type><parameter>name</parameter></methodparam> http://cvs.php.net/diff.php/phpdoc-it/reference/domxml/functions/DomElement-set-attribute-node.xml?r1=1.2&r2=1.3&ty=u Index: phpdoc-it/reference/domxml/functions/DomElement-set-attribute-node.xml diff -u phpdoc-it/reference/domxml/functions/DomElement-set-attribute-node.xml:1.2 phpdoc-it/reference/domxml/functions/DomElement-set-attribute-node.xml:1.3 --- phpdoc-it/reference/domxml/functions/DomElement-set-attribute-node.xml:1.2 Tue Jun 8 08:09:27 2004 +++ phpdoc-it/reference/domxml/functions/DomElement-set-attribute-node.xml Wed Jun 8 08:30:58 2005 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- EN-Revision: 1.4 Maintainer: darvina Status: ready --> +<!-- EN-Revision: 1.5 Maintainer: darvina Status: ready --> <!-- splitted from ./en/functions/domxml.xml, last change in rev 1.38 --> <!-- This function is not implemented at all for the time being <refentry id='function.domelement-set-attribute-node'> @@ -12,8 +12,8 @@ <refsect1> <title>Description</title> <methodsynopsis> - <type>bool</type><methodname>DomElement->set_attribute_node</methodname> - <methodparam><type>object</type><parameter>attr</parameter></methodparam> + <type>domnode</type><methodname>DomElement->set_attribute_node</methodname> + <methodparam><type>domnode</type><parameter>attr</parameter></methodparam> </methodsynopsis> <para> &warn.undocumented.func; http://cvs.php.net/diff.php/phpdoc-it/reference/domxml/functions/DomElement-set-attribute.xml?r1=1.5&r2=1.6&ty=u Index: phpdoc-it/reference/domxml/functions/DomElement-set-attribute.xml diff -u phpdoc-it/reference/domxml/functions/DomElement-set-attribute.xml:1.5 phpdoc-it/reference/domxml/functions/DomElement-set-attribute.xml:1.6 --- phpdoc-it/reference/domxml/functions/DomElement-set-attribute.xml:1.5 Tue Jun 15 08:16:08 2004 +++ phpdoc-it/reference/domxml/functions/DomElement-set-attribute.xml Wed Jun 8 08:30:58 2005 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- EN-Revision: 1.6 Maintainer: darvina Status: ready --> +<!-- EN-Revision: 1.9 Maintainer: darvina Status: ready --> <!-- splitted from ./en/functions/domxml.xml, last change in rev 1.27 --> <refentry id='function.domelement-set-attribute'> <refnamediv> @@ -9,15 +9,16 @@ </refpurpose> </refnamediv> <refsect1> - <title>Descrizione</title> + &reftitle.description; <methodsynopsis> - <type>bool</type><methodname>DomElement->set_attribute</methodname> + <type>domattribute</type><methodname>DomElement->set_attribute</methodname> <methodparam><type>string</type><parameter>nome</parameter></methodparam> <methodparam><type>string</type><parameter>valore</parameter></methodparam> </methodsynopsis> <para> Imposta l'attributo chiamato <parameter>nome</parameter> al valore - fornito. Se l'attributo non esiste lo crea. + fornito. Se l'attributo non esiste + lo crea. </para> <para> <example> http://cvs.php.net/diff.php/phpdoc-it/reference/domxml/functions/DomElement-tagname.xml?r1=1.2&r2=1.3&ty=u Index: phpdoc-it/reference/domxml/functions/DomElement-tagname.xml diff -u phpdoc-it/reference/domxml/functions/DomElement-tagname.xml:1.2 phpdoc-it/reference/domxml/functions/DomElement-tagname.xml:1.3 --- phpdoc-it/reference/domxml/functions/DomElement-tagname.xml:1.2 Tue Jun 8 08:09:27 2004 +++ phpdoc-it/reference/domxml/functions/DomElement-tagname.xml Wed Jun 8 08:30:58 2005 @@ -1,21 +1,49 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- EN-Revision: 1.3 Maintainer: darvina Status: ready --> +<!-- EN-Revision: 1.5 Maintainer: darvina Status: ready --> <!-- splitted from ./en/functions/domxml.xml, last change in rev 1.6 --> <refentry id='function.domelement-tagname'> <refnamediv> <refname>DomElement->tagname</refname> <refpurpose> - Restituisce il nome di un elemento + Restituisce il nome dell'elemento corrente </refpurpose> </refnamediv> <refsect1> - <title>Descrizione</title> + &reftitle.description; <methodsynopsis> <type>string</type><methodname>DomElement->tagname</methodname> <void/> </methodsynopsis> <para> - &warn.undocumented.func; + Returns the name of the current node. Chiamare questa funzione è come + accedere alla proprietà <literal>tagname</literal> del nodo corrente, + o chiamare <function>DomElement->node_name</function>. + </para> + <para> + <example> + <title>Ottenere il nome del nodo</title> + <programlisting role="php"> +<![CDATA[ +<?php + +include("example.inc"); + +if (!$dom = domxml_open_mem($xmlstr)) { + echo "Error while parsing the document\n"; + exit; +} + +$root = $dom->document_element(); +echo $root->tagname(); // chapter +echo $root->tagname; // chapter +echo $root->node_name(); // chapter + + +?> + +]]> + </programlisting> + </example> </para> </refsect1> </refentry> http://cvs.php.net/diff.php/phpdoc-it/reference/domxml/functions/DomNode-add-namespace.xml?r1=1.3&r2=1.4&ty=u Index: phpdoc-it/reference/domxml/functions/DomNode-add-namespace.xml diff -u phpdoc-it/reference/domxml/functions/DomNode-add-namespace.xml:1.3 phpdoc-it/reference/domxml/functions/DomNode-add-namespace.xml:1.4 --- phpdoc-it/reference/domxml/functions/DomNode-add-namespace.xml:1.3 Tue Jun 8 08:09:27 2004 +++ phpdoc-it/reference/domxml/functions/DomNode-add-namespace.xml Wed Jun 8 08:30:58 2005 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- EN-Revision: 1.4 Maintainer: darvina Status: ready --> +<!-- EN-Revision: 1.6 Maintainer: darvina Status: ready --> <!-- splitted from ./en/functions/domxml.xml, last change in rev 1.38 --> <refentry id='function.domnode-add-namespace'> <refnamediv> @@ -9,7 +9,7 @@ </refpurpose> </refnamediv> <refsect1> - <title>Descrizione</title> + &reftitle.description; <methodsynopsis> <type>bool</type><methodname>DomNode->add_namespace</methodname> <methodparam><type>string</type><parameter>uri</parameter></methodparam> http://cvs.php.net/diff.php/phpdoc-it/reference/domxml/functions/DomNode-append-child.xml?r1=1.5&r2=1.6&ty=u Index: phpdoc-it/reference/domxml/functions/DomNode-append-child.xml diff -u phpdoc-it/reference/domxml/functions/DomNode-append-child.xml:1.5 phpdoc-it/reference/domxml/functions/DomNode-append-child.xml:1.6 --- phpdoc-it/reference/domxml/functions/DomNode-append-child.xml:1.5 Tue Jun 8 08:09:27 2004 +++ phpdoc-it/reference/domxml/functions/DomNode-append-child.xml Wed Jun 8 08:30:58 2005 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- EN-Revision: 1.10 Maintainer: darvina Status: ready --> +<!-- EN-Revision: 1.12 Maintainer: darvina Status: ready --> <!-- splitted from ./en/functions/domxml.xml, last change in rev 1.40 --> <refentry id='function.domnode-append-child'> <refnamediv> @@ -9,10 +9,10 @@ </refpurpose> </refnamediv> <refsect1> - <title>Descrizione</title> + &reftitle.description; <methodsynopsis> - <type>object</type><methodname>DomNode->append_child</methodname> - <methodparam><type>object</type><parameter>nuovo_nodo</parameter></methodparam> + <type>domelement</type><methodname>DomNode->append_child</methodname> + <methodparam><type>domelement</type><parameter>newnode</parameter></methodparam> </methodsynopsis> <para> Questa funzione accoda un nodo figlio ad un elenco pre-esistente di figli oppure
« previous php.doc.it (#733) next »