cvs: phpdoc-it /reference/domxml/functions DomDocument-create-processing-instruction.xml DomDocument-create-text-node.xml DomDocument-doctype.xml
DomDocument-document-element.xml DomDocument-dump-file.xml DomDocument-dump-mem.xml DomDocument-get-element-by-id.xml
DomDocument-get-elements-by-tagname.xml DomDocument-html-dump-mem.xml DomDocument-xinclude.xml DomDocumentType-entities.xml
DomDocumentType-internal-subset.xml DomDocumentType-name.xml DomDocumentType-notations.xml DomDocumentType-public-id.xml DomDocumentType-system-id.xml
DomElement-get-attribute-node.xml
| From: | Andrioli Darvin | Date: | Tue, 17 May 2005 12:31:05 +0000 |
| Subject: | cvs: phpdoc-it /reference/domxml/functions DomDocument-create-processing-instruction.xml DomDocument-create-text-node.xml DomDocument-doctype.xml DomDocument-document-element.xml DomDocument-dump-file.xml DomDocument-dump-mem.xml DomDocument-get-element-by-id.xml DomDocument-get-elements-by-tagname.xml DomDocument-html-dump-mem.xml DomDocument-xinclude.xml DomDocumentType-entities.xml DomDocumentType-internal-subset.xml DomDocumentType-name.xml DomDocumentType-notations.xml DomDocumentType-public-id.xml DomDocumentType-system-id.xml DomElement-get-attribute-node.xml |
||
| Groups: | php.doc.it | ||
| Request: | Send a blank email to doc-it+get-718@lists.php.net to get a copy of this message | ||
darvina Tue May 17 08:31:05 2005 EDT
Modified files:
/phpdoc-it/reference/domxml/functions
DomDocument-create-processing-instruction.xml
DomDocument-create-text-node.xml
DomDocument-doctype.xml
DomDocument-document-element.xml
DomDocument-dump-file.xml
DomDocument-dump-mem.xml
DomDocument-get-element-by-id.xml
DomDocument-get-elements-by-tagname.xml
DomDocument-html-dump-mem.xml
DomDocument-xinclude.xml
DomDocumentType-entities.xml
DomDocumentType-internal-subset.xml
DomDocumentType-name.xml
DomDocumentType-notations.xml
DomDocumentType-public-id.xml
DomDocumentType-system-id.xml
DomElement-get-attribute-node.xml
Log:
Sync to En tree
http://cvs.php.net/diff.php/phpdoc-it/reference/domxml/functions/DomDocument-create-processing-instruction.xml?r1=1.5&r2=1.6&ty=u Index: phpdoc-it/reference/domxml/functions/DomDocument-create-processing-instruction.xml diff -u phpdoc-it/reference/domxml/functions/DomDocument-create-processing-instruction.xml:1.5 phpdoc-it/reference/domxml/functions/DomDocument-create-processing-instruction.xml:1.6 --- phpdoc-it/reference/domxml/functions/DomDocument-create-processing-instruction.xml:1.5 Tue Aug 24 09:10:12 2004 +++ phpdoc-it/reference/domxml/functions/DomDocument-create-processing-instruction.xml Tue May 17 08:31:04 2005 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- EN-Revision: 1.7 Maintainer: darvina Status: ready --> +<!-- EN-Revision: 1.9 Maintainer: darvina Status: ready --> <!-- splitted from ./en/functions/domxml.xml, last change in rev 1.38 --> <refentry id="function.domdocument-create-processing-instruction"> <refnamediv> @@ -7,9 +7,9 @@ <refpurpose>Crea un nuovo nodo PI</refpurpose> </refnamediv> <refsect1> - <title>Descrizione</title> + &reftitle.description; <methodsynopsis> - <type>object</type><methodname>DomDocument->create_processing_instruction</methodname> + <type>domprocessinginstruction</type><methodname>DomDocument->create_processing_instruction</methodname> <methodparam><type>string</type><parameter>contenuto</parameter></methodparam> </methodsynopsis> <para> http://cvs.php.net/diff.php/phpdoc-it/reference/domxml/functions/DomDocument-create-text-node.xml?r1=1.4&r2=1.5&ty=u Index: phpdoc-it/reference/domxml/functions/DomDocument-create-text-node.xml diff -u phpdoc-it/reference/domxml/functions/DomDocument-create-text-node.xml:1.4 phpdoc-it/reference/domxml/functions/DomDocument-create-text-node.xml:1.5 --- phpdoc-it/reference/domxml/functions/DomDocument-create-text-node.xml:1.4 Tue Jun 8 08:09:27 2004 +++ phpdoc-it/reference/domxml/functions/DomDocument-create-text-node.xml Tue May 17 08:31:04 2005 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- EN-Revision: 1.6 Maintainer: darvina Status: ready --> +<!-- EN-Revision: 1.8 Maintainer: darvina Status: ready --> <!-- splitted from ./en/functions/domxml.xml, last change in rev 1.38 --> <refentry id="function.domdocument-create-text-node"> <refnamediv> @@ -7,9 +7,9 @@ <refpurpose>Crea un nodo di testo</refpurpose> </refnamediv> <refsect1> - <title>Descrizione</title> + &reftitle.description; <methodsynopsis> - <type>object</type><methodname>DomDocument->create_text_node</methodname> + <type>domtext</type><methodname>DomDocument->create_text_node</methodname> <methodparam><type>string</type><parameter>contenuto</parameter></methodparam> </methodsynopsis> <para> http://cvs.php.net/diff.php/phpdoc-it/reference/domxml/functions/DomDocument-doctype.xml?r1=1.2&r2=1.3&ty=u Index: phpdoc-it/reference/domxml/functions/DomDocument-doctype.xml diff -u phpdoc-it/reference/domxml/functions/DomDocument-doctype.xml:1.2 phpdoc-it/reference/domxml/functions/DomDocument-doctype.xml:1.3 --- phpdoc-it/reference/domxml/functions/DomDocument-doctype.xml:1.2 Tue Jun 8 08:09:27 2004 +++ phpdoc-it/reference/domxml/functions/DomDocument-doctype.xml Tue May 17 08:31:04 2005 @@ -1,5 +1,5 @@ <?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.38 --> <refentry id="function.domdocument-doctype"> <refnamediv> @@ -9,9 +9,9 @@ </refpurpose> </refnamediv> <refsect1> - <title>Descrizione</title> + &reftitle.description; <methodsynopsis> - <type>object</type><methodname>DomDocument->doctype</methodname> + <type>domdocumenttype</type><methodname>DomDocument->doctype</methodname> <void/> </methodsynopsis> <para> http://cvs.php.net/diff.php/phpdoc-it/reference/domxml/functions/DomDocument-document-element.xml?r1=1.4&r2=1.5&ty=u Index: phpdoc-it/reference/domxml/functions/DomDocument-document-element.xml diff -u phpdoc-it/reference/domxml/functions/DomDocument-document-element.xml:1.4 phpdoc-it/reference/domxml/functions/DomDocument-document-element.xml:1.5 --- phpdoc-it/reference/domxml/functions/DomDocument-document-element.xml:1.4 Tue Aug 24 09:10:12 2004 +++ phpdoc-it/reference/domxml/functions/DomDocument-document-element.xml Tue May 17 08:31:04 2005 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- EN-Revision: 1.5 Maintainer: darvina Status: ready --> +<!-- EN-Revision: 1.7 Maintainer: darvina Status: ready --> <!-- splitted from ./en/functions/domxml.xml, last change in rev 1.6 --> <refentry id="function.domdocument-document-element"> <refnamediv> @@ -9,9 +9,9 @@ </refpurpose> </refnamediv> <refsect1> - <title>Descrizione</title> + &reftitle.description; <methodsynopsis> - <type>object</type><methodname>DomDocument->document_element</methodname> + <type>domelement</type><methodname>DomDocument->document_element</methodname> <void/> </methodsynopsis> <para> @@ -37,9 +37,7 @@ ?> ]]> </programlisting> - <para> - Questo esempio visualizzerà: - </para> + &example.outputs; <screen> <![CDATA[ domelement Object http://cvs.php.net/diff.php/phpdoc-it/reference/domxml/functions/DomDocument-dump-file.xml?r1=1.3&r2=1.4&ty=u Index: phpdoc-it/reference/domxml/functions/DomDocument-dump-file.xml diff -u phpdoc-it/reference/domxml/functions/DomDocument-dump-file.xml:1.3 phpdoc-it/reference/domxml/functions/DomDocument-dump-file.xml:1.4 --- phpdoc-it/reference/domxml/functions/DomDocument-dump-file.xml:1.3 Tue Jun 8 08:09:27 2004 +++ phpdoc-it/reference/domxml/functions/DomDocument-dump-file.xml Tue May 17 08:31:04 2005 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- EN-Revision: 1.5 Maintainer: darvina Status: ready --> +<!-- EN-Revision: 1.6 Maintainer: darvina Status: ready --> <!-- splitted from ./en/functions/domxml.xml, last change in rev 1.6 --> <refentry id="function.domdocument-dump-file"> <refnamediv> @@ -9,7 +9,7 @@ </refpurpose> </refnamediv> <refsect1> - <title>Descrizione</title> + &reftitle.description; <methodsynopsis> <type>string</type><methodname>DomDocument->dump_file</methodname> <methodparam><type>string</type><parameter>nomefile</parameter></methodparam> http://cvs.php.net/diff.php/phpdoc-it/reference/domxml/functions/DomDocument-dump-mem.xml?r1=1.3&r2=1.4&ty=u Index: phpdoc-it/reference/domxml/functions/DomDocument-dump-mem.xml diff -u phpdoc-it/reference/domxml/functions/DomDocument-dump-mem.xml:1.3 phpdoc-it/reference/domxml/functions/DomDocument-dump-mem.xml:1.4 --- phpdoc-it/reference/domxml/functions/DomDocument-dump-mem.xml:1.3 Tue Jun 8 08:09:27 2004 +++ phpdoc-it/reference/domxml/functions/DomDocument-dump-mem.xml Tue May 17 08:31:04 2005 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- EN-Revision: 1.6 Maintainer: darvina Status: ready --> +<!-- EN-Revision: 1.7 Maintainer: darvina Status: ready --> <!-- splitted from ./en/functions/domxml.xml, last change in rev 1.6 --> <refentry id="function.domdocument-dump-mem"> <refnamediv> @@ -9,7 +9,7 @@ </refpurpose> </refnamediv> <refsect1> - <title>Descrizione</title> + &reftitle.description; <methodsynopsis> <type>string</type><methodname>DomDocument->dump_mem</methodname> <methodparam choice="opt"><type>bool</type><parameter>formato</parameter></methodparam> http://cvs.php.net/diff.php/phpdoc-it/reference/domxml/functions/DomDocument-get-element-by-id.xml?r1=1.3&r2=1.4&ty=u Index: phpdoc-it/reference/domxml/functions/DomDocument-get-element-by-id.xml diff -u phpdoc-it/reference/domxml/functions/DomDocument-get-element-by-id.xml:1.3 phpdoc-it/reference/domxml/functions/DomDocument-get-element-by-id.xml:1.4 --- phpdoc-it/reference/domxml/functions/DomDocument-get-element-by-id.xml:1.3 Tue Jun 8 08:09:27 2004 +++ phpdoc-it/reference/domxml/functions/DomDocument-get-element-by-id.xml Tue May 17 08:31:04 2005 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- EN-Revision: 1.5 Maintainer: darvina Status: ready --> +<!-- EN-Revision: 1.7 Maintainer: darvina Status: ready --> <!-- splitted from ./en/functions/domxml.xml, last change in rev 1.38 --> <refentry id="function.domdocument-get-element-by-id"> <refnamediv> @@ -9,9 +9,9 @@ </refpurpose> </refnamediv> <refsect1> - <title>Descrizione</title> + &reftitle.description; <methodsynopsis> - <type>object</type><methodname>DomDocument->get_element_by_id</methodname> + <type>domelement</type><methodname>DomDocument->get_element_by_id</methodname> <methodparam><type>string</type><parameter>id</parameter></methodparam> </methodsynopsis> <para> http://cvs.php.net/diff.php/phpdoc-it/reference/domxml/functions/DomDocument-get-elements-by-tagname.xml?r1=1.5&r2=1.6&ty=u Index: phpdoc-it/reference/domxml/functions/DomDocument-get-elements-by-tagname.xml diff -u phpdoc-it/reference/domxml/functions/DomDocument-get-elements-by-tagname.xml:1.5 phpdoc-it/reference/domxml/functions/DomDocument-get-elements-by-tagname.xml:1.6 --- phpdoc-it/reference/domxml/functions/DomDocument-get-elements-by-tagname.xml:1.5 Tue Jun 8 08:09:27 2004 +++ phpdoc-it/reference/domxml/functions/DomDocument-get-elements-by-tagname.xml Tue May 17 08:31:04 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.domdocument-get-elements-by-tagname"> <refnamediv> @@ -9,7 +9,7 @@ </refpurpose> </refnamediv> <refsect1> - <title>Descrizione</title> + &reftitle.description; <methodsynopsis> <type>array</type><methodname>DomDocument->get_elements_by_tagname</methodname> <methodparam><type>string</type><parameter>nome</parameter></methodparam> http://cvs.php.net/diff.php/phpdoc-it/reference/domxml/functions/DomDocument-html-dump-mem.xml?r1=1.4&r2=1.5&ty=u Index: phpdoc-it/reference/domxml/functions/DomDocument-html-dump-mem.xml diff -u phpdoc-it/reference/domxml/functions/DomDocument-html-dump-mem.xml:1.4 phpdoc-it/reference/domxml/functions/DomDocument-html-dump-mem.xml:1.5 --- phpdoc-it/reference/domxml/functions/DomDocument-html-dump-mem.xml:1.4 Thu Sep 16 08:20:32 2004 +++ phpdoc-it/reference/domxml/functions/DomDocument-html-dump-mem.xml Tue May 17 08:31:04 2005 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- EN-Revision: 1.6 Maintainer: darvina Status: ready --> +<!-- EN-Revision: 1.7 Maintainer: darvina Status: ready --> <!-- splitted from ./en/functions/domxml.xml, last change in rev 1.6 --> <refentry id="function.domdocument-html-dump-mem"> <refnamediv> @@ -9,7 +9,7 @@ </refpurpose> </refnamediv> <refsect1> - <title>Descrizione</title> + &reftitle.description; <methodsynopsis> <type>string</type><methodname>DomDocument->html_dump_mem</methodname> <void/> http://cvs.php.net/diff.php/phpdoc-it/reference/domxml/functions/DomDocument-xinclude.xml?r1=1.3&r2=1.4&ty=u Index: phpdoc-it/reference/domxml/functions/DomDocument-xinclude.xml diff -u phpdoc-it/reference/domxml/functions/DomDocument-xinclude.xml:1.3 phpdoc-it/reference/domxml/functions/DomDocument-xinclude.xml:1.4 --- phpdoc-it/reference/domxml/functions/DomDocument-xinclude.xml:1.3 Thu Sep 16 08:20:32 2004 +++ phpdoc-it/reference/domxml/functions/DomDocument-xinclude.xml Tue May 17 08:31:04 2005 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- EN-Revision: 1.5 Maintainer: darvina Status: ready --> +<!-- EN-Revision: 1.7 Maintainer: darvina Status: ready --> <refentry id="function.domdocument-xinclude"> <refnamediv> <refname>DomDocument->xinclude</refname> @@ -8,18 +8,19 @@ </refpurpose> </refnamediv> <refsect1> - <title>Descrizione</title> + &reftitle.description; <methodsynopsis> <type>int</type><methodname>DomDocument->xinclude</methodname> <void/> </methodsynopsis> &warn.experimental.func; <para> - Questa funzione sostituisce gli XInclude in un oggetto DomDocument. + Questa funzione sostituisce gli <ulink + url="&url.xinclude.spec;">XIncludes</ulink> in un oggetto DomDocument. </para> <para> <example> - <title>Sostituisce</title> + <title>Sostituzione di Xinclude</title> <programlisting role="php"> <![CDATA[ <?php http://cvs.php.net/diff.php/phpdoc-it/reference/domxml/functions/DomDocumentType-entities.xml?r1=1.2&r2=1.3&ty=u Index: phpdoc-it/reference/domxml/functions/DomDocumentType-entities.xml diff -u phpdoc-it/reference/domxml/functions/DomDocumentType-entities.xml:1.2 phpdoc-it/reference/domxml/functions/DomDocumentType-entities.xml:1.3 --- phpdoc-it/reference/domxml/functions/DomDocumentType-entities.xml:1.2 Tue Jun 8 08:09:27 2004 +++ phpdoc-it/reference/domxml/functions/DomDocumentType-entities.xml Tue May 17 08:31:04 2005 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- EN-Revision: 1.3 Maintainer: darvina Status: ready --> +<!-- EN-Revision: 1.4 Maintainer: darvina Status: ready --> <!-- splitted from ./en/functions/domxml.xml, last change in rev 1.38 --> <refentry id='function.domdocumenttype-entities'> <refnamediv> @@ -9,7 +9,7 @@ </refpurpose> </refnamediv> <refsect1> - <title>Descrizione</title> + &reftitle.description; <methodsynopsis> <type>array</type><methodname>DomDocumentType->entities</methodname> <void/> http://cvs.php.net/diff.php/phpdoc-it/reference/domxml/functions/DomDocumentType-internal-subset.xml?r1=1.2&r2=1.3&ty=u Index: phpdoc-it/reference/domxml/functions/DomDocumentType-internal-subset.xml diff -u phpdoc-it/reference/domxml/functions/DomDocumentType-internal-subset.xml:1.2 phpdoc-it/reference/domxml/functions/DomDocumentType-internal-subset.xml:1.3 --- phpdoc-it/reference/domxml/functions/DomDocumentType-internal-subset.xml:1.2 Tue Jun 8 08:09:27 2004 +++ phpdoc-it/reference/domxml/functions/DomDocumentType-internal-subset.xml Tue May 17 08:31:04 2005 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- EN-Revision: 1.3 Maintainer: darvina Status: ready --> +<!-- EN-Revision: 1.4 Maintainer: darvina Status: ready --> <!-- splitted from ./en/functions/domxml.xml, last change in rev 1.38 --> <refentry id='function.domdocumenttype-internal-subset'> <refnamediv> @@ -9,7 +9,7 @@ </refpurpose> </refnamediv> <refsect1> - <title>Descrizione</title> + &reftitle.description; <methodsynopsis> <type>bool</type><methodname>DomDocumentType->internal_subset</methodname> <void/> http://cvs.php.net/diff.php/phpdoc-it/reference/domxml/functions/DomDocumentType-name.xml?r1=1.2&r2=1.3&ty=u Index: phpdoc-it/reference/domxml/functions/DomDocumentType-name.xml diff -u phpdoc-it/reference/domxml/functions/DomDocumentType-name.xml:1.2 phpdoc-it/reference/domxml/functions/DomDocumentType-name.xml:1.3 --- phpdoc-it/reference/domxml/functions/DomDocumentType-name.xml:1.2 Tue Jun 8 08:09:27 2004 +++ phpdoc-it/reference/domxml/functions/DomDocumentType-name.xml Tue May 17 08:31:04 2005 @@ -1,5 +1,5 @@ <?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.38 --> <refentry id='function.domdocumenttype-name'> <refnamediv> @@ -9,7 +9,7 @@ </refpurpose> </refnamediv> <refsect1> - <title>Descrizione</title> + &reftitle.description; <methodsynopsis> <type>string</type><methodname>DomDocumentType->name</methodname> <void/> @@ -17,6 +17,28 @@ <para> Questa funzione restituisce il nome del tipo documento. </para> + <para> + <example> + <title>Ottenere il nome del tipo documento</title> + <programlisting role="php"> +<![CDATA[ +<?php + +include("example.inc"); + +if (!$dom = domxml_open_mem($xmlstr)) { + echo "Error while parsing the document\n"; + exit; +} + +$doctype = $dom->doctype(); +echo $doctype->name(); // chapter + +?> +]]> + </programlisting> + </example> + </para> </refsect1> </refentry> http://cvs.php.net/diff.php/phpdoc-it/reference/domxml/functions/DomDocumentType-notations.xml?r1=1.2&r2=1.3&ty=u Index: phpdoc-it/reference/domxml/functions/DomDocumentType-notations.xml diff -u phpdoc-it/reference/domxml/functions/DomDocumentType-notations.xml:1.2 phpdoc-it/reference/domxml/functions/DomDocumentType-notations.xml:1.3 --- phpdoc-it/reference/domxml/functions/DomDocumentType-notations.xml:1.2 Tue Jun 8 08:09:27 2004 +++ phpdoc-it/reference/domxml/functions/DomDocumentType-notations.xml Tue May 17 08:31:04 2005 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- EN-Revision: 1.3 Maintainer: darvina Status: ready --> +<!-- EN-Revision: 1.4 Maintainer: darvina Status: ready --> <!-- splitted from ./en/functions/domxml.xml, last change in rev 1.38 --> <refentry id='function.domdocumenttype-notations'> <refnamediv> @@ -9,7 +9,7 @@ </refpurpose> </refnamediv> <refsect1> - <title>Descrizione</title> + &reftitle.description; <methodsynopsis> <type>array</type><methodname>DomDocumentType->notations</methodname> <void/> http://cvs.php.net/diff.php/phpdoc-it/reference/domxml/functions/DomDocumentType-public-id.xml?r1=1.3&r2=1.4&ty=u Index: phpdoc-it/reference/domxml/functions/DomDocumentType-public-id.xml diff -u phpdoc-it/reference/domxml/functions/DomDocumentType-public-id.xml:1.3 phpdoc-it/reference/domxml/functions/DomDocumentType-public-id.xml:1.4 --- phpdoc-it/reference/domxml/functions/DomDocumentType-public-id.xml:1.3 Tue Jun 8 08:09:27 2004 +++ phpdoc-it/reference/domxml/functions/DomDocumentType-public-id.xml Tue May 17 08:31:04 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.domdocumenttype-public-id'> <refnamediv> @@ -9,7 +9,7 @@ </refpurpose> </refnamediv> <refsect1> - <title>Descrizione</title> + &reftitle.description; <methodsynopsis> <type>string</type><methodname>DomDocumentType->public_id</methodname> <void/> http://cvs.php.net/diff.php/phpdoc-it/reference/domxml/functions/DomDocumentType-system-id.xml?r1=1.3&r2=1.4&ty=u Index: phpdoc-it/reference/domxml/functions/DomDocumentType-system-id.xml diff -u phpdoc-it/reference/domxml/functions/DomDocumentType-system-id.xml:1.3 phpdoc-it/reference/domxml/functions/DomDocumentType-system-id.xml:1.4 --- phpdoc-it/reference/domxml/functions/DomDocumentType-system-id.xml:1.3 Tue Jun 8 08:09:27 2004 +++ phpdoc-it/reference/domxml/functions/DomDocumentType-system-id.xml Tue May 17 08:31:04 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.domdocumenttype-system-id'> <refnamediv> @@ -9,7 +9,7 @@ </refpurpose> </refnamediv> <refsect1> - <title>Descrizione</title> + &reftitle.description; <methodsynopsis> <type>string</type><methodname>DomDocumentType->system_id</methodname> <void/> @@ -17,9 +17,7 @@ <para> Restituisce l'identificativo di sistema del tipo documento. </para> - <para> - L'esempio seguente visualizzerà - '/share/sgml/Norman_Walsh/db3xml10/db3xml10.dtd'. + <para> <example> <title>Recupero dell'identificativo di sistema</title> <programlisting role="php"> @@ -37,6 +35,12 @@ ?> ]]> </programlisting> + &example.outputs; + <screen> +<![CDATA[ +/share/sgml/Norman_Walsh/db3xml10/db3xml10.dtd +]]> + </screen> </example> </para> </refsect1> http://cvs.php.net/diff.php/phpdoc-it/reference/domxml/functions/DomElement-get-attribute-node.xml?r1=1.2&r2=1.3&ty=u Index: phpdoc-it/reference/domxml/functions/DomElement-get-attribute-node.xml diff -u phpdoc-it/reference/domxml/functions/DomElement-get-attribute-node.xml:1.2 phpdoc-it/reference/domxml/functions/DomElement-get-attribute-node.xml:1.3 --- phpdoc-it/reference/domxml/functions/DomElement-get-attribute-node.xml:1.2 Tue Jun 8 08:09:27 2004 +++ phpdoc-it/reference/domxml/functions/DomElement-get-attribute-node.xml Tue May 17 08:31:04 2005 @@ -1,21 +1,50 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- EN-Revision: 1.3 Maintainer: darvina Status: ready --> +<!-- EN-Revision: 1.6 Maintainer: darvina Status: ready --> <!-- splitted from ./en/functions/domxml.xml, last change in rev 1.27 --> <refentry id='function.domelement-get-attribute-node'> <refnamediv> <refname>DomElement->get_attribute_node</refname> <refpurpose> - Restituisce il valore di un attributo + Restituisce il nodo dell'attributo dato </refpurpose> </refnamediv> <refsect1> - <title>Descrizione</title> + &reftitle.description; <methodsynopsis> - <type>object</type><methodname>DomElement->get_attribute_node</methodname> - <methodparam><type>object</type><parameter>attributo</parameter></methodparam> + <type>domattribute</type><methodname>DomElement->get_attribute_node</methodname> + <methodparam><type>string</type><parameter>name</parameter></methodparam> </methodsynopsis> <para> - &warn.undocumented.func; + Restituisce il nodo dell'attributo indicato da <parameter>name</parameter> + nell'elemento corrente. Il parametro <parameter>name</parameter> distingue + tra minuscole e maiuscole. + </para> + <para> + Se non si trova alcun attributo con il nome dato, la funzione restituisce &false; + </para> + <para> + <example> + <title>Ottenere un nodo attributo</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(); +if ($attribute = $root->get_attribute_node('language')) { + echo 'Language is: ' . $attribute->value() . "\n"; +} + +?> +]]> + </programlisting> + </example> </para> </refsect1> </refentry>
http://cvs.php.net/diff.php/phpdoc-it/reference/domxml/functions/DomDocument-create-processing-instruction.xml?r1=1.5&r2=1.6&ty=u Index: phpdoc-it/reference/domxml/functions/DomDocument-create-processing-instruction.xml diff -u phpdoc-it/reference/domxml/functions/DomDocument-create-processing-instruction.xml:1.5 phpdoc-it/reference/domxml/functions/DomDocument-create-processing-instruction.xml:1.6 --- phpdoc-it/reference/domxml/functions/DomDocument-create-processing-instruction.xml:1.5 Tue Aug 24 09:10:12 2004 +++ phpdoc-it/reference/domxml/functions/DomDocument-create-processing-instruction.xml Tue May 17 08:31:04 2005 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- EN-Revision: 1.7 Maintainer: darvina Status: ready --> +<!-- EN-Revision: 1.9 Maintainer: darvina Status: ready --> <!-- splitted from ./en/functions/domxml.xml, last change in rev 1.38 --> <refentry id="function.domdocument-create-processing-instruction"> <refnamediv> @@ -7,9 +7,9 @@ <refpurpose>Crea un nuovo nodo PI</refpurpose> </refnamediv> <refsect1> - <title>Descrizione</title> + &reftitle.description; <methodsynopsis> - <type>object</type><methodname>DomDocument->create_processing_instruction</methodname> + <type>domprocessinginstruction</type><methodname>DomDocument->create_processing_instruction</methodname> <methodparam><type>string</type><parameter>contenuto</parameter></methodparam> </methodsynopsis> <para> http://cvs.php.net/diff.php/phpdoc-it/reference/domxml/functions/DomDocument-create-text-node.xml?r1=1.4&r2=1.5&ty=u Index: phpdoc-it/reference/domxml/functions/DomDocument-create-text-node.xml diff -u phpdoc-it/reference/domxml/functions/DomDocument-create-text-node.xml:1.4 phpdoc-it/reference/domxml/functions/DomDocument-create-text-node.xml:1.5 --- phpdoc-it/reference/domxml/functions/DomDocument-create-text-node.xml:1.4 Tue Jun 8 08:09:27 2004 +++ phpdoc-it/reference/domxml/functions/DomDocument-create-text-node.xml Tue May 17 08:31:04 2005 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- EN-Revision: 1.6 Maintainer: darvina Status: ready --> +<!-- EN-Revision: 1.8 Maintainer: darvina Status: ready --> <!-- splitted from ./en/functions/domxml.xml, last change in rev 1.38 --> <refentry id="function.domdocument-create-text-node"> <refnamediv> @@ -7,9 +7,9 @@ <refpurpose>Crea un nodo di testo</refpurpose> </refnamediv> <refsect1> - <title>Descrizione</title> + &reftitle.description; <methodsynopsis> - <type>object</type><methodname>DomDocument->create_text_node</methodname> + <type>domtext</type><methodname>DomDocument->create_text_node</methodname> <methodparam><type>string</type><parameter>contenuto</parameter></methodparam> </methodsynopsis> <para> http://cvs.php.net/diff.php/phpdoc-it/reference/domxml/functions/DomDocument-doctype.xml?r1=1.2&r2=1.3&ty=u Index: phpdoc-it/reference/domxml/functions/DomDocument-doctype.xml diff -u phpdoc-it/reference/domxml/functions/DomDocument-doctype.xml:1.2 phpdoc-it/reference/domxml/functions/DomDocument-doctype.xml:1.3 --- phpdoc-it/reference/domxml/functions/DomDocument-doctype.xml:1.2 Tue Jun 8 08:09:27 2004 +++ phpdoc-it/reference/domxml/functions/DomDocument-doctype.xml Tue May 17 08:31:04 2005 @@ -1,5 +1,5 @@ <?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.38 --> <refentry id="function.domdocument-doctype"> <refnamediv> @@ -9,9 +9,9 @@ </refpurpose> </refnamediv> <refsect1> - <title>Descrizione</title> + &reftitle.description; <methodsynopsis> - <type>object</type><methodname>DomDocument->doctype</methodname> + <type>domdocumenttype</type><methodname>DomDocument->doctype</methodname> <void/> </methodsynopsis> <para> http://cvs.php.net/diff.php/phpdoc-it/reference/domxml/functions/DomDocument-document-element.xml?r1=1.4&r2=1.5&ty=u Index: phpdoc-it/reference/domxml/functions/DomDocument-document-element.xml diff -u phpdoc-it/reference/domxml/functions/DomDocument-document-element.xml:1.4 phpdoc-it/reference/domxml/functions/DomDocument-document-element.xml:1.5 --- phpdoc-it/reference/domxml/functions/DomDocument-document-element.xml:1.4 Tue Aug 24 09:10:12 2004 +++ phpdoc-it/reference/domxml/functions/DomDocument-document-element.xml Tue May 17 08:31:04 2005 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- EN-Revision: 1.5 Maintainer: darvina Status: ready --> +<!-- EN-Revision: 1.7 Maintainer: darvina Status: ready --> <!-- splitted from ./en/functions/domxml.xml, last change in rev 1.6 --> <refentry id="function.domdocument-document-element"> <refnamediv> @@ -9,9 +9,9 @@ </refpurpose> </refnamediv> <refsect1> - <title>Descrizione</title> + &reftitle.description; <methodsynopsis> - <type>object</type><methodname>DomDocument->document_element</methodname> + <type>domelement</type><methodname>DomDocument->document_element</methodname> <void/> </methodsynopsis> <para> @@ -37,9 +37,7 @@ ?> ]]> </programlisting> - <para> - Questo esempio visualizzerà: - </para> + &example.outputs; <screen> <![CDATA[ domelement Object http://cvs.php.net/diff.php/phpdoc-it/reference/domxml/functions/DomDocument-dump-file.xml?r1=1.3&r2=1.4&ty=u Index: phpdoc-it/reference/domxml/functions/DomDocument-dump-file.xml diff -u phpdoc-it/reference/domxml/functions/DomDocument-dump-file.xml:1.3 phpdoc-it/reference/domxml/functions/DomDocument-dump-file.xml:1.4 --- phpdoc-it/reference/domxml/functions/DomDocument-dump-file.xml:1.3 Tue Jun 8 08:09:27 2004 +++ phpdoc-it/reference/domxml/functions/DomDocument-dump-file.xml Tue May 17 08:31:04 2005 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- EN-Revision: 1.5 Maintainer: darvina Status: ready --> +<!-- EN-Revision: 1.6 Maintainer: darvina Status: ready --> <!-- splitted from ./en/functions/domxml.xml, last change in rev 1.6 --> <refentry id="function.domdocument-dump-file"> <refnamediv> @@ -9,7 +9,7 @@ </refpurpose> </refnamediv> <refsect1> - <title>Descrizione</title> + &reftitle.description; <methodsynopsis> <type>string</type><methodname>DomDocument->dump_file</methodname> <methodparam><type>string</type><parameter>nomefile</parameter></methodparam> http://cvs.php.net/diff.php/phpdoc-it/reference/domxml/functions/DomDocument-dump-mem.xml?r1=1.3&r2=1.4&ty=u Index: phpdoc-it/reference/domxml/functions/DomDocument-dump-mem.xml diff -u phpdoc-it/reference/domxml/functions/DomDocument-dump-mem.xml:1.3 phpdoc-it/reference/domxml/functions/DomDocument-dump-mem.xml:1.4 --- phpdoc-it/reference/domxml/functions/DomDocument-dump-mem.xml:1.3 Tue Jun 8 08:09:27 2004 +++ phpdoc-it/reference/domxml/functions/DomDocument-dump-mem.xml Tue May 17 08:31:04 2005 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- EN-Revision: 1.6 Maintainer: darvina Status: ready --> +<!-- EN-Revision: 1.7 Maintainer: darvina Status: ready --> <!-- splitted from ./en/functions/domxml.xml, last change in rev 1.6 --> <refentry id="function.domdocument-dump-mem"> <refnamediv> @@ -9,7 +9,7 @@ </refpurpose> </refnamediv> <refsect1> - <title>Descrizione</title> + &reftitle.description; <methodsynopsis> <type>string</type><methodname>DomDocument->dump_mem</methodname> <methodparam choice="opt"><type>bool</type><parameter>formato</parameter></methodparam> http://cvs.php.net/diff.php/phpdoc-it/reference/domxml/functions/DomDocument-get-element-by-id.xml?r1=1.3&r2=1.4&ty=u Index: phpdoc-it/reference/domxml/functions/DomDocument-get-element-by-id.xml diff -u phpdoc-it/reference/domxml/functions/DomDocument-get-element-by-id.xml:1.3 phpdoc-it/reference/domxml/functions/DomDocument-get-element-by-id.xml:1.4 --- phpdoc-it/reference/domxml/functions/DomDocument-get-element-by-id.xml:1.3 Tue Jun 8 08:09:27 2004 +++ phpdoc-it/reference/domxml/functions/DomDocument-get-element-by-id.xml Tue May 17 08:31:04 2005 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- EN-Revision: 1.5 Maintainer: darvina Status: ready --> +<!-- EN-Revision: 1.7 Maintainer: darvina Status: ready --> <!-- splitted from ./en/functions/domxml.xml, last change in rev 1.38 --> <refentry id="function.domdocument-get-element-by-id"> <refnamediv> @@ -9,9 +9,9 @@ </refpurpose> </refnamediv> <refsect1> - <title>Descrizione</title> + &reftitle.description; <methodsynopsis> - <type>object</type><methodname>DomDocument->get_element_by_id</methodname> + <type>domelement</type><methodname>DomDocument->get_element_by_id</methodname> <methodparam><type>string</type><parameter>id</parameter></methodparam> </methodsynopsis> <para> http://cvs.php.net/diff.php/phpdoc-it/reference/domxml/functions/DomDocument-get-elements-by-tagname.xml?r1=1.5&r2=1.6&ty=u Index: phpdoc-it/reference/domxml/functions/DomDocument-get-elements-by-tagname.xml diff -u phpdoc-it/reference/domxml/functions/DomDocument-get-elements-by-tagname.xml:1.5 phpdoc-it/reference/domxml/functions/DomDocument-get-elements-by-tagname.xml:1.6 --- phpdoc-it/reference/domxml/functions/DomDocument-get-elements-by-tagname.xml:1.5 Tue Jun 8 08:09:27 2004 +++ phpdoc-it/reference/domxml/functions/DomDocument-get-elements-by-tagname.xml Tue May 17 08:31:04 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.domdocument-get-elements-by-tagname"> <refnamediv> @@ -9,7 +9,7 @@ </refpurpose> </refnamediv> <refsect1> - <title>Descrizione</title> + &reftitle.description; <methodsynopsis> <type>array</type><methodname>DomDocument->get_elements_by_tagname</methodname> <methodparam><type>string</type><parameter>nome</parameter></methodparam> http://cvs.php.net/diff.php/phpdoc-it/reference/domxml/functions/DomDocument-html-dump-mem.xml?r1=1.4&r2=1.5&ty=u Index: phpdoc-it/reference/domxml/functions/DomDocument-html-dump-mem.xml diff -u phpdoc-it/reference/domxml/functions/DomDocument-html-dump-mem.xml:1.4 phpdoc-it/reference/domxml/functions/DomDocument-html-dump-mem.xml:1.5 --- phpdoc-it/reference/domxml/functions/DomDocument-html-dump-mem.xml:1.4 Thu Sep 16 08:20:32 2004 +++ phpdoc-it/reference/domxml/functions/DomDocument-html-dump-mem.xml Tue May 17 08:31:04 2005 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- EN-Revision: 1.6 Maintainer: darvina Status: ready --> +<!-- EN-Revision: 1.7 Maintainer: darvina Status: ready --> <!-- splitted from ./en/functions/domxml.xml, last change in rev 1.6 --> <refentry id="function.domdocument-html-dump-mem"> <refnamediv> @@ -9,7 +9,7 @@ </refpurpose> </refnamediv> <refsect1> - <title>Descrizione</title> + &reftitle.description; <methodsynopsis> <type>string</type><methodname>DomDocument->html_dump_mem</methodname> <void/> http://cvs.php.net/diff.php/phpdoc-it/reference/domxml/functions/DomDocument-xinclude.xml?r1=1.3&r2=1.4&ty=u Index: phpdoc-it/reference/domxml/functions/DomDocument-xinclude.xml diff -u phpdoc-it/reference/domxml/functions/DomDocument-xinclude.xml:1.3 phpdoc-it/reference/domxml/functions/DomDocument-xinclude.xml:1.4 --- phpdoc-it/reference/domxml/functions/DomDocument-xinclude.xml:1.3 Thu Sep 16 08:20:32 2004 +++ phpdoc-it/reference/domxml/functions/DomDocument-xinclude.xml Tue May 17 08:31:04 2005 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- EN-Revision: 1.5 Maintainer: darvina Status: ready --> +<!-- EN-Revision: 1.7 Maintainer: darvina Status: ready --> <refentry id="function.domdocument-xinclude"> <refnamediv> <refname>DomDocument->xinclude</refname> @@ -8,18 +8,19 @@ </refpurpose> </refnamediv> <refsect1> - <title>Descrizione</title> + &reftitle.description; <methodsynopsis> <type>int</type><methodname>DomDocument->xinclude</methodname> <void/> </methodsynopsis> &warn.experimental.func; <para> - Questa funzione sostituisce gli XInclude in un oggetto DomDocument. + Questa funzione sostituisce gli <ulink + url="&url.xinclude.spec;">XIncludes</ulink> in un oggetto DomDocument. </para> <para> <example> - <title>Sostituisce</title> + <title>Sostituzione di Xinclude</title> <programlisting role="php"> <![CDATA[ <?php http://cvs.php.net/diff.php/phpdoc-it/reference/domxml/functions/DomDocumentType-entities.xml?r1=1.2&r2=1.3&ty=u Index: phpdoc-it/reference/domxml/functions/DomDocumentType-entities.xml diff -u phpdoc-it/reference/domxml/functions/DomDocumentType-entities.xml:1.2 phpdoc-it/reference/domxml/functions/DomDocumentType-entities.xml:1.3 --- phpdoc-it/reference/domxml/functions/DomDocumentType-entities.xml:1.2 Tue Jun 8 08:09:27 2004 +++ phpdoc-it/reference/domxml/functions/DomDocumentType-entities.xml Tue May 17 08:31:04 2005 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- EN-Revision: 1.3 Maintainer: darvina Status: ready --> +<!-- EN-Revision: 1.4 Maintainer: darvina Status: ready --> <!-- splitted from ./en/functions/domxml.xml, last change in rev 1.38 --> <refentry id='function.domdocumenttype-entities'> <refnamediv> @@ -9,7 +9,7 @@ </refpurpose> </refnamediv> <refsect1> - <title>Descrizione</title> + &reftitle.description; <methodsynopsis> <type>array</type><methodname>DomDocumentType->entities</methodname> <void/> http://cvs.php.net/diff.php/phpdoc-it/reference/domxml/functions/DomDocumentType-internal-subset.xml?r1=1.2&r2=1.3&ty=u Index: phpdoc-it/reference/domxml/functions/DomDocumentType-internal-subset.xml diff -u phpdoc-it/reference/domxml/functions/DomDocumentType-internal-subset.xml:1.2 phpdoc-it/reference/domxml/functions/DomDocumentType-internal-subset.xml:1.3 --- phpdoc-it/reference/domxml/functions/DomDocumentType-internal-subset.xml:1.2 Tue Jun 8 08:09:27 2004 +++ phpdoc-it/reference/domxml/functions/DomDocumentType-internal-subset.xml Tue May 17 08:31:04 2005 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- EN-Revision: 1.3 Maintainer: darvina Status: ready --> +<!-- EN-Revision: 1.4 Maintainer: darvina Status: ready --> <!-- splitted from ./en/functions/domxml.xml, last change in rev 1.38 --> <refentry id='function.domdocumenttype-internal-subset'> <refnamediv> @@ -9,7 +9,7 @@ </refpurpose> </refnamediv> <refsect1> - <title>Descrizione</title> + &reftitle.description; <methodsynopsis> <type>bool</type><methodname>DomDocumentType->internal_subset</methodname> <void/> http://cvs.php.net/diff.php/phpdoc-it/reference/domxml/functions/DomDocumentType-name.xml?r1=1.2&r2=1.3&ty=u Index: phpdoc-it/reference/domxml/functions/DomDocumentType-name.xml diff -u phpdoc-it/reference/domxml/functions/DomDocumentType-name.xml:1.2 phpdoc-it/reference/domxml/functions/DomDocumentType-name.xml:1.3 --- phpdoc-it/reference/domxml/functions/DomDocumentType-name.xml:1.2 Tue Jun 8 08:09:27 2004 +++ phpdoc-it/reference/domxml/functions/DomDocumentType-name.xml Tue May 17 08:31:04 2005 @@ -1,5 +1,5 @@ <?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.38 --> <refentry id='function.domdocumenttype-name'> <refnamediv> @@ -9,7 +9,7 @@ </refpurpose> </refnamediv> <refsect1> - <title>Descrizione</title> + &reftitle.description; <methodsynopsis> <type>string</type><methodname>DomDocumentType->name</methodname> <void/> @@ -17,6 +17,28 @@ <para> Questa funzione restituisce il nome del tipo documento. </para> + <para> + <example> + <title>Ottenere il nome del tipo documento</title> + <programlisting role="php"> +<![CDATA[ +<?php + +include("example.inc"); + +if (!$dom = domxml_open_mem($xmlstr)) { + echo "Error while parsing the document\n"; + exit; +} + +$doctype = $dom->doctype(); +echo $doctype->name(); // chapter + +?> +]]> + </programlisting> + </example> + </para> </refsect1> </refentry> http://cvs.php.net/diff.php/phpdoc-it/reference/domxml/functions/DomDocumentType-notations.xml?r1=1.2&r2=1.3&ty=u Index: phpdoc-it/reference/domxml/functions/DomDocumentType-notations.xml diff -u phpdoc-it/reference/domxml/functions/DomDocumentType-notations.xml:1.2 phpdoc-it/reference/domxml/functions/DomDocumentType-notations.xml:1.3 --- phpdoc-it/reference/domxml/functions/DomDocumentType-notations.xml:1.2 Tue Jun 8 08:09:27 2004 +++ phpdoc-it/reference/domxml/functions/DomDocumentType-notations.xml Tue May 17 08:31:04 2005 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- EN-Revision: 1.3 Maintainer: darvina Status: ready --> +<!-- EN-Revision: 1.4 Maintainer: darvina Status: ready --> <!-- splitted from ./en/functions/domxml.xml, last change in rev 1.38 --> <refentry id='function.domdocumenttype-notations'> <refnamediv> @@ -9,7 +9,7 @@ </refpurpose> </refnamediv> <refsect1> - <title>Descrizione</title> + &reftitle.description; <methodsynopsis> <type>array</type><methodname>DomDocumentType->notations</methodname> <void/> http://cvs.php.net/diff.php/phpdoc-it/reference/domxml/functions/DomDocumentType-public-id.xml?r1=1.3&r2=1.4&ty=u Index: phpdoc-it/reference/domxml/functions/DomDocumentType-public-id.xml diff -u phpdoc-it/reference/domxml/functions/DomDocumentType-public-id.xml:1.3 phpdoc-it/reference/domxml/functions/DomDocumentType-public-id.xml:1.4 --- phpdoc-it/reference/domxml/functions/DomDocumentType-public-id.xml:1.3 Tue Jun 8 08:09:27 2004 +++ phpdoc-it/reference/domxml/functions/DomDocumentType-public-id.xml Tue May 17 08:31:04 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.domdocumenttype-public-id'> <refnamediv> @@ -9,7 +9,7 @@ </refpurpose> </refnamediv> <refsect1> - <title>Descrizione</title> + &reftitle.description; <methodsynopsis> <type>string</type><methodname>DomDocumentType->public_id</methodname> <void/> http://cvs.php.net/diff.php/phpdoc-it/reference/domxml/functions/DomDocumentType-system-id.xml?r1=1.3&r2=1.4&ty=u Index: phpdoc-it/reference/domxml/functions/DomDocumentType-system-id.xml diff -u phpdoc-it/reference/domxml/functions/DomDocumentType-system-id.xml:1.3 phpdoc-it/reference/domxml/functions/DomDocumentType-system-id.xml:1.4 --- phpdoc-it/reference/domxml/functions/DomDocumentType-system-id.xml:1.3 Tue Jun 8 08:09:27 2004 +++ phpdoc-it/reference/domxml/functions/DomDocumentType-system-id.xml Tue May 17 08:31:04 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.domdocumenttype-system-id'> <refnamediv> @@ -9,7 +9,7 @@ </refpurpose> </refnamediv> <refsect1> - <title>Descrizione</title> + &reftitle.description; <methodsynopsis> <type>string</type><methodname>DomDocumentType->system_id</methodname> <void/> @@ -17,9 +17,7 @@ <para> Restituisce l'identificativo di sistema del tipo documento. </para> - <para> - L'esempio seguente visualizzerà - '/share/sgml/Norman_Walsh/db3xml10/db3xml10.dtd'. + <para> <example> <title>Recupero dell'identificativo di sistema</title> <programlisting role="php"> @@ -37,6 +35,12 @@ ?> ]]> </programlisting> + &example.outputs; + <screen> +<![CDATA[ +/share/sgml/Norman_Walsh/db3xml10/db3xml10.dtd +]]> + </screen> </example> </para> </refsect1> http://cvs.php.net/diff.php/phpdoc-it/reference/domxml/functions/DomElement-get-attribute-node.xml?r1=1.2&r2=1.3&ty=u Index: phpdoc-it/reference/domxml/functions/DomElement-get-attribute-node.xml diff -u phpdoc-it/reference/domxml/functions/DomElement-get-attribute-node.xml:1.2 phpdoc-it/reference/domxml/functions/DomElement-get-attribute-node.xml:1.3 --- phpdoc-it/reference/domxml/functions/DomElement-get-attribute-node.xml:1.2 Tue Jun 8 08:09:27 2004 +++ phpdoc-it/reference/domxml/functions/DomElement-get-attribute-node.xml Tue May 17 08:31:04 2005 @@ -1,21 +1,50 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- EN-Revision: 1.3 Maintainer: darvina Status: ready --> +<!-- EN-Revision: 1.6 Maintainer: darvina Status: ready --> <!-- splitted from ./en/functions/domxml.xml, last change in rev 1.27 --> <refentry id='function.domelement-get-attribute-node'> <refnamediv> <refname>DomElement->get_attribute_node</refname> <refpurpose> - Restituisce il valore di un attributo + Restituisce il nodo dell'attributo dato </refpurpose> </refnamediv> <refsect1> - <title>Descrizione</title> + &reftitle.description; <methodsynopsis> - <type>object</type><methodname>DomElement->get_attribute_node</methodname> - <methodparam><type>object</type><parameter>attributo</parameter></methodparam> + <type>domattribute</type><methodname>DomElement->get_attribute_node</methodname> + <methodparam><type>string</type><parameter>name</parameter></methodparam> </methodsynopsis> <para> - &warn.undocumented.func; + Restituisce il nodo dell'attributo indicato da <parameter>name</parameter> + nell'elemento corrente. Il parametro <parameter>name</parameter> distingue + tra minuscole e maiuscole. + </para> + <para> + Se non si trova alcun attributo con il nome dato, la funzione restituisce &false; + </para> + <para> + <example> + <title>Ottenere un nodo attributo</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(); +if ($attribute = $root->get_attribute_node('language')) { + echo 'Language is: ' . $attribute->value() . "\n"; +} + +?> +]]> + </programlisting> + </example> </para> </refsect1> </refentry>