cvs: phpdoc /en/reference/domxml book.xml constants.xml reference.xml setup.xml
| From: | Hannes Magnusson | Date: | Sun, 16 Dec 2007 11:57:07 +0000 |
| Subject: | cvs: phpdoc /en/reference/domxml book.xml constants.xml reference.xml setup.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-662@lists.php.net to get a copy of this message | ||
bjori Sun Dec 16 11:57:07 2007 UTC
Modified files:
/phpdoc/en/reference/domxml book.xml setup.xml constants.xml
reference.xml
Log:
MFB: Upgrade to the new-reference-structure
- Moved the intro from reference.xml to book.xml
- Change the intro ID to intro.<extname>
- Moved the setup sections to setup.xml
- Changed the constants section to be <appendix>
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/domxml/book.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc/en/reference/domxml/book.xml diff -u /dev/null phpdoc/en/reference/domxml/book.xml:1.2 --- /dev/null Sun Dec 16 11:57:07 2007 +++ phpdoc/en/reference/domxml/book.xml Sun Dec 16 11:57:07 2007 @@ -0,0 +1,75 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- $Revision: 1.2 $ --> +<!-- Purpose: xml --> +<!-- Membership: pecl, external --> + +<book xml:id="book.domxml" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> + <title>DOM XML</title> + + <!-- {{{ preface --> + <preface xml:id="intro.domxml"> + &reftitle.intro; + <para> + The DOM XML extension has been overhauled in PHP 4.3.0 to better comply with + the DOM standard. The extension still contains + many old functions, but they should no longer be used. In particular, functions + that are not object-oriented should be avoided. + </para> + <para> + The extension allows you to operate on an XML document with the DOM API. + It also provides a function <function>domxml_xmltree</function> to turn the + complete XML document into a tree of PHP objects. Currently, this + tree should be considered read-only - you can modify it, but this + would not make any sense since <function>DomDocument_dump_mem</function> + cannot be + applied to it. Therefore, if you want to read an XML file and write + a modified version, use <function>DomDocument_create_element</function>, + <function>DomDocument_create_text_node</function>, + <function>set_attribute</function>, etc. and finally the + <function>DomDocument_dump_mem</function> function. + </para> + <note> + <para> + &pecl.moved-ver;5.0.0. + </para> + </note> + <note> + <simpara> + This extension is no longer marked experimental. It will, however, never + be released with PHP 5, and will only be distributed with PHP 4. + If you need DOM XML support with PHP 5 you can use the + <link linkend="book.dom">DOM</link> extension. This + <literal>domxml</literal> extension is not compatible with the + <link linkend="book.dom">DOM</link> extension. + </simpara> + </note> + </preface> + <!-- }}} --> + + &reference.domxml.setup; + &reference.domxml.constants; + &reference.domxml.reference; + +</book> + +<!-- Keep this comment at the end of the file +Local variables: +mode: sgml +sgml-omittag:t +sgml-shorttag:t +sgml-minimize-attributes:nil +sgml-always-quote-attributes:t +sgml-indent-step:1 +sgml-indent-data:t +indent-tabs-mode:nil +sgml-parent-document:nil +sgml-default-dtd-file:"../../../manual.ced" +sgml-exposed-tags:nil +sgml-local-catalogs:nil +sgml-local-ecat-files:nil +End: +vim600: syn=xml fen fdm=syntax fdl=2 si +vim: et tw=78 syn=sgml +vi: ts=1 sw=1 +--> + http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/domxml/setup.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc/en/reference/domxml/setup.xml diff -u /dev/null phpdoc/en/reference/domxml/setup.xml:1.2 --- /dev/null Sun Dec 16 11:57:07 2007 +++ phpdoc/en/reference/domxml/setup.xml Sun Dec 16 11:57:07 2007 @@ -0,0 +1,63 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- $Revision: 1.2 $ --> + +<chapter xml:id="domxml.setup" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> + &reftitle.setup; + + <!-- {{{ Requirements --> + <section xml:id="domxml.requirements"> + &reftitle.required; + <para> + This extension makes use of the + <link xlink:href="&url.libxml;">GNOME XML library</link>. Download + and install this library. You will need at least libxml-2.4.14. + To use DOM XSLT features you can use the + <link xlink:href="&url.libxslt;">libxslt library</link> and EXSLT + enhancements from <link xlink:href="&url.exslt;">&url.exslt;</link>. + Download and install these libraries if you plan to use (enhanced) XSLT + features. You will need at least libxslt-1.0.18. + </para> + </section> + <!-- }}} --> + + <!-- {{{ Installation --> + &reference.domxml.configure; + <!-- }}} --> + + <!-- {{{ Configuration --> + <section xml:id="domxml.configuration"> + &reftitle.runtime; + &no.config; + </section> + <!-- }}} --> + + <!-- {{{ Resources --> + <section xml:id="domxml.resources"> + &reftitle.resources; + &no.resource; + </section> + <!-- }}} --> + +</chapter> + +<!-- Keep this comment at the end of the file +Local variables: +mode: sgml +sgml-omittag:t +sgml-shorttag:t +sgml-minimize-attributes:nil +sgml-always-quote-attributes:t +sgml-indent-step:1 +sgml-indent-data:t +indent-tabs-mode:nil +sgml-parent-document:nil +sgml-default-dtd-file:"../../../manual.ced" +sgml-exposed-tags:nil +sgml-local-catalogs:nil +sgml-local-ecat-files:nil +End: +vim600: syn=xml fen fdm=syntax fdl=2 si +vim: et tw=78 syn=sgml +vi: ts=1 sw=1 +--> + http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/domxml/constants.xml?r1=1.5&r2=1.6&diff_format=u Index: phpdoc/en/reference/domxml/constants.xml diff -u phpdoc/en/reference/domxml/constants.xml:1.5 phpdoc/en/reference/domxml/constants.xml:1.6 --- phpdoc/en/reference/domxml/constants.xml:1.5 Wed Jun 20 22:24:22 2007 +++ phpdoc/en/reference/domxml/constants.xml Sun Dec 16 11:57:07 2007 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.5 $ --> -<section xml:id="domxml.constants" xmlns="http://docbook.org/ns/docbook"> +<!-- $Revision: 1.6 $ --> +<appendix xml:id="domxml.constants" xmlns="http://docbook.org/ns/docbook"> &reftitle.constants; &extension.constants; <table> @@ -334,7 +334,7 @@ </tbody> </tgroup> </table> - </section> + </appendix> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/domxml/reference.xml?r1=1.24&r2=1.25&diff_format=u Index: phpdoc/en/reference/domxml/reference.xml diff -u phpdoc/en/reference/domxml/reference.xml:1.24 phpdoc/en/reference/domxml/reference.xml:1.25 --- phpdoc/en/reference/domxml/reference.xml:1.24 Mon Dec 10 17:06:02 2007 +++ phpdoc/en/reference/domxml/reference.xml Sun Dec 16 11:57:07 2007 @@ -1,67 +1,10 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.24 $ --> -<!-- Purpose: xml --> -<!-- Membership: pecl, external --> +<!-- $Revision: 1.25 $ --> <reference xml:id="ref.domxml" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> - <title>DOM XML Functions</title> - <titleabbrev>DOM XML</titleabbrev> + <title>DOM XML &Functions;</title> <partintro> - <section xml:id="domxml.intro"> - &reftitle.intro; - <para> - The DOM XML extension has been overhauled in PHP 4.3.0 to better comply with - the DOM standard. The extension still contains - many old functions, but they should no longer be used. In particular, functions - that are not object-oriented should be avoided. - </para> - <para> - The extension allows you to operate on an XML document with the DOM API. - It also provides a function <function>domxml_xmltree</function> to turn the - complete XML document into a tree of PHP objects. Currently, this - tree should be considered read-only - you can modify it, but this - would not make any sense since <function>DomDocument_dump_mem</function> - cannot be - applied to it. Therefore, if you want to read an XML file and write - a modified version, use <function>DomDocument_create_element</function>, - <function>DomDocument_create_text_node</function>, - <function>set_attribute</function>, etc. and finally the - <function>DomDocument_dump_mem</function> function. - </para> - <note> - <para> - &pecl.moved-ver;5.0.0. - </para> - </note> - <note> - <simpara> - This extension is no longer marked experimental. It will, however, never - be released with PHP 5, and will only be distributed with PHP 4. - If you need DOM XML support with PHP 5 you can use the - <link linkend="ref.dom">DOM</link> extension. This - <literal>domxml</literal> extension is not compatible with the - <link linkend="ref.dom">DOM</link> extension. - </simpara> - </note> - </section> - - <section xml:id="domxml.requirements"> - &reftitle.required; - <para> - This extension makes use of the - <link xlink:href="&url.libxml;">GNOME XML library</link>. Download - and install this library. You will need at least libxml-2.4.14. - To use DOM XSLT features you can use the - <link xlink:href="&url.libxslt;">libxslt library</link> and EXSLT - enhancements from <link xlink:href="&url.exslt;">&url.exslt;</link>. - Download and install these libraries if you plan to use (enhanced) XSLT - features. You will need at least libxslt-1.0.18. - </para> - </section> - - &reference.domxml.configure; - <section xml:id="domxml.deprecated"> <title>Deprecated functions</title> <para> @@ -175,8 +118,11 @@ </para> </section> - &reference.domxml.constants; - + <!-- + FIXME: + Maybe someone, someday, wants to upgrade this mess to use the + new OO markup.. + --> <section xml:id="domxml.classes"> <title>Classes</title> <para>
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/domxml/book.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc/en/reference/domxml/book.xml diff -u /dev/null phpdoc/en/reference/domxml/book.xml:1.2 --- /dev/null Sun Dec 16 11:57:07 2007 +++ phpdoc/en/reference/domxml/book.xml Sun Dec 16 11:57:07 2007 @@ -0,0 +1,75 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- $Revision: 1.2 $ --> +<!-- Purpose: xml --> +<!-- Membership: pecl, external --> + +<book xml:id="book.domxml" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> + <title>DOM XML</title> + + <!-- {{{ preface --> + <preface xml:id="intro.domxml"> + &reftitle.intro; + <para> + The DOM XML extension has been overhauled in PHP 4.3.0 to better comply with + the DOM standard. The extension still contains + many old functions, but they should no longer be used. In particular, functions + that are not object-oriented should be avoided. + </para> + <para> + The extension allows you to operate on an XML document with the DOM API. + It also provides a function <function>domxml_xmltree</function> to turn the + complete XML document into a tree of PHP objects. Currently, this + tree should be considered read-only - you can modify it, but this + would not make any sense since <function>DomDocument_dump_mem</function> + cannot be + applied to it. Therefore, if you want to read an XML file and write + a modified version, use <function>DomDocument_create_element</function>, + <function>DomDocument_create_text_node</function>, + <function>set_attribute</function>, etc. and finally the + <function>DomDocument_dump_mem</function> function. + </para> + <note> + <para> + &pecl.moved-ver;5.0.0. + </para> + </note> + <note> + <simpara> + This extension is no longer marked experimental. It will, however, never + be released with PHP 5, and will only be distributed with PHP 4. + If you need DOM XML support with PHP 5 you can use the + <link linkend="book.dom">DOM</link> extension. This + <literal>domxml</literal> extension is not compatible with the + <link linkend="book.dom">DOM</link> extension. + </simpara> + </note> + </preface> + <!-- }}} --> + + &reference.domxml.setup; + &reference.domxml.constants; + &reference.domxml.reference; + +</book> + +<!-- Keep this comment at the end of the file +Local variables: +mode: sgml +sgml-omittag:t +sgml-shorttag:t +sgml-minimize-attributes:nil +sgml-always-quote-attributes:t +sgml-indent-step:1 +sgml-indent-data:t +indent-tabs-mode:nil +sgml-parent-document:nil +sgml-default-dtd-file:"../../../manual.ced" +sgml-exposed-tags:nil +sgml-local-catalogs:nil +sgml-local-ecat-files:nil +End: +vim600: syn=xml fen fdm=syntax fdl=2 si +vim: et tw=78 syn=sgml +vi: ts=1 sw=1 +--> + http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/domxml/setup.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc/en/reference/domxml/setup.xml diff -u /dev/null phpdoc/en/reference/domxml/setup.xml:1.2 --- /dev/null Sun Dec 16 11:57:07 2007 +++ phpdoc/en/reference/domxml/setup.xml Sun Dec 16 11:57:07 2007 @@ -0,0 +1,63 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- $Revision: 1.2 $ --> + +<chapter xml:id="domxml.setup" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> + &reftitle.setup; + + <!-- {{{ Requirements --> + <section xml:id="domxml.requirements"> + &reftitle.required; + <para> + This extension makes use of the + <link xlink:href="&url.libxml;">GNOME XML library</link>. Download + and install this library. You will need at least libxml-2.4.14. + To use DOM XSLT features you can use the + <link xlink:href="&url.libxslt;">libxslt library</link> and EXSLT + enhancements from <link xlink:href="&url.exslt;">&url.exslt;</link>. + Download and install these libraries if you plan to use (enhanced) XSLT + features. You will need at least libxslt-1.0.18. + </para> + </section> + <!-- }}} --> + + <!-- {{{ Installation --> + &reference.domxml.configure; + <!-- }}} --> + + <!-- {{{ Configuration --> + <section xml:id="domxml.configuration"> + &reftitle.runtime; + &no.config; + </section> + <!-- }}} --> + + <!-- {{{ Resources --> + <section xml:id="domxml.resources"> + &reftitle.resources; + &no.resource; + </section> + <!-- }}} --> + +</chapter> + +<!-- Keep this comment at the end of the file +Local variables: +mode: sgml +sgml-omittag:t +sgml-shorttag:t +sgml-minimize-attributes:nil +sgml-always-quote-attributes:t +sgml-indent-step:1 +sgml-indent-data:t +indent-tabs-mode:nil +sgml-parent-document:nil +sgml-default-dtd-file:"../../../manual.ced" +sgml-exposed-tags:nil +sgml-local-catalogs:nil +sgml-local-ecat-files:nil +End: +vim600: syn=xml fen fdm=syntax fdl=2 si +vim: et tw=78 syn=sgml +vi: ts=1 sw=1 +--> + http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/domxml/constants.xml?r1=1.5&r2=1.6&diff_format=u Index: phpdoc/en/reference/domxml/constants.xml diff -u phpdoc/en/reference/domxml/constants.xml:1.5 phpdoc/en/reference/domxml/constants.xml:1.6 --- phpdoc/en/reference/domxml/constants.xml:1.5 Wed Jun 20 22:24:22 2007 +++ phpdoc/en/reference/domxml/constants.xml Sun Dec 16 11:57:07 2007 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.5 $ --> -<section xml:id="domxml.constants" xmlns="http://docbook.org/ns/docbook"> +<!-- $Revision: 1.6 $ --> +<appendix xml:id="domxml.constants" xmlns="http://docbook.org/ns/docbook"> &reftitle.constants; &extension.constants; <table> @@ -334,7 +334,7 @@ </tbody> </tgroup> </table> - </section> + </appendix> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/domxml/reference.xml?r1=1.24&r2=1.25&diff_format=u Index: phpdoc/en/reference/domxml/reference.xml diff -u phpdoc/en/reference/domxml/reference.xml:1.24 phpdoc/en/reference/domxml/reference.xml:1.25 --- phpdoc/en/reference/domxml/reference.xml:1.24 Mon Dec 10 17:06:02 2007 +++ phpdoc/en/reference/domxml/reference.xml Sun Dec 16 11:57:07 2007 @@ -1,67 +1,10 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.24 $ --> -<!-- Purpose: xml --> -<!-- Membership: pecl, external --> +<!-- $Revision: 1.25 $ --> <reference xml:id="ref.domxml" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> - <title>DOM XML Functions</title> - <titleabbrev>DOM XML</titleabbrev> + <title>DOM XML &Functions;</title> <partintro> - <section xml:id="domxml.intro"> - &reftitle.intro; - <para> - The DOM XML extension has been overhauled in PHP 4.3.0 to better comply with - the DOM standard. The extension still contains - many old functions, but they should no longer be used. In particular, functions - that are not object-oriented should be avoided. - </para> - <para> - The extension allows you to operate on an XML document with the DOM API. - It also provides a function <function>domxml_xmltree</function> to turn the - complete XML document into a tree of PHP objects. Currently, this - tree should be considered read-only - you can modify it, but this - would not make any sense since <function>DomDocument_dump_mem</function> - cannot be - applied to it. Therefore, if you want to read an XML file and write - a modified version, use <function>DomDocument_create_element</function>, - <function>DomDocument_create_text_node</function>, - <function>set_attribute</function>, etc. and finally the - <function>DomDocument_dump_mem</function> function. - </para> - <note> - <para> - &pecl.moved-ver;5.0.0. - </para> - </note> - <note> - <simpara> - This extension is no longer marked experimental. It will, however, never - be released with PHP 5, and will only be distributed with PHP 4. - If you need DOM XML support with PHP 5 you can use the - <link linkend="ref.dom">DOM</link> extension. This - <literal>domxml</literal> extension is not compatible with the - <link linkend="ref.dom">DOM</link> extension. - </simpara> - </note> - </section> - - <section xml:id="domxml.requirements"> - &reftitle.required; - <para> - This extension makes use of the - <link xlink:href="&url.libxml;">GNOME XML library</link>. Download - and install this library. You will need at least libxml-2.4.14. - To use DOM XSLT features you can use the - <link xlink:href="&url.libxslt;">libxslt library</link> and EXSLT - enhancements from <link xlink:href="&url.exslt;">&url.exslt;</link>. - Download and install these libraries if you plan to use (enhanced) XSLT - features. You will need at least libxslt-1.0.18. - </para> - </section> - - &reference.domxml.configure; - <section xml:id="domxml.deprecated"> <title>Deprecated functions</title> <para> @@ -175,8 +118,11 @@ </para> </section> - &reference.domxml.constants; - + <!-- + FIXME: + Maybe someone, someday, wants to upgrade this mess to use the + new OO markup.. + --> <section xml:id="domxml.classes"> <title>Classes</title> <para>