betz Mon May 6 03:14:27 2002 EDT
Added files:
/phpdoc/en/reference/domxml constants.xml
Modified files:
/phpdoc/en/reference/domxml reference.xml
Log:
new structure and constants extra
Index: phpdoc/en/reference/domxml/reference.xml
diff -u phpdoc/en/reference/domxml/reference.xml:1.4
phpdoc/en/reference/domxml/reference.xml:1.5
--- phpdoc/en/reference/domxml/reference.xml:1.4 Tue Apr 16 05:06:00 2002
+++ phpdoc/en/reference/domxml/reference.xml Mon May 6 03:14:27 2002
@@ -1,13 +1,13 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.4 $ -->
+<!-- $Revision: 1.5 $ -->
<reference id="ref.domxml">
<title>DOM XML functions</title>
<titleabbrev>DOM XML</titleabbrev>
<partintro>
- <section id="domxml-intro">
- <title>Introduction</title>
- &warn.experimental;
+ <section id="domxml.intro">
+ &reftitle.intro;
+ &warn.experimental;
<para>
The domxml extension has been overhauled in PHP Version 4.3.0 in favour
of a better compliance of the DOM standard. The extension still contains
@@ -29,17 +29,24 @@
</para>
</section>
- <section id="domxml-requirements">
- <title>Requirements</title>
+ <section id="domxml.requirements">
+ &reftitle.required;
<para>
- This extension is only available if PHP was configured with
- <option role="configure">--with-dom=[DIR]</option>, using the
- <ulink url="&url.domxml;">GNOME xml library</ulink>.
- You will need at least libxml-2.2.7
+ This extension make use of the
+ <ulink url="&url.domxml;">GNOME xml library</ulink>. Download
+ and install this library. You will need at least libxml-2.2.7.
</para>
</section>
- <section id="domxml-deprecated">
+ <section id="domxml.installation">
+ &reftitle.install;
+ <para>
+ This extension is only available if PHP was configured with
+ <option role="configure">--with-dom=[DIR]</option>.
+ </para>
+ </section>
+
+ <section id="domxml.deprecated">
<title>Deprecated functions</title>
<para>
There a quite some functions which do not fit into the DOM standard and
@@ -152,98 +159,9 @@
</para>
</section>
- <section id="domxml-constants">
- <title>Constants</title>
- <para>
- This module defines the following constants:
- </para>
- <table>
- <title>XML constants</title>
- <tgroup cols="3">
- <thead>
- <row>
- <entry>Constant</entry>
- <entry>Value</entry>
- <entry>Description</entry>
- </row>
- </thead>
- <tbody>
- <row>
- <entry>XML_ELEMENT_NODE</entry>
- <entry>1</entry>
- <entry>Node is an element</entry>
- </row>
- <row>
- <entry>XML_ATTRIBUTE_NODE</entry>
- <entry>2</entry>
- <entry>Node is an attribute</entry>
- </row>
- <row>
- <entry>XML_TEXT_NODE</entry>
- <entry>3</entry>
- <entry>Node is a piece of text</entry>
- </row>
- <row>
- <entry>XML_CDATA_SECTION_NODE</entry>
- <entry>4</entry>
- <entry></entry>
- </row>
- <row>
- <entry>XML_ENTITY_REF_NODE</entry>
- <entry>5</entry>
- <entry></entry>
- </row>
- <row>
- <entry>XML_ENTITY_NODE</entry>
- <entry>6</entry>
- <entry>Node is an entity like &nbsp;</entry>
- </row>
- <row>
- <entry>XML_PI_NODE</entry>
- <entry>7</entry>
- <entry>Node is a processing instruction</entry>
- </row>
- <row>
- <entry>XML_COMMENT_NODE</entry>
- <entry>8</entry>
- <entry>Node is a comment</entry>
- </row>
- <row>
- <entry>XML_DOCUMENT_NODE</entry>
- <entry>9</entry>
- <entry>Node is a document</entry>
- </row>
- <row>
- <entry>XML_DOCUMENT_TYPE_NODE</entry>
- <entry>10</entry>
- <entry></entry>
- </row>
- <row>
- <entry>XML_DOCUMENT_FRAG_NODE</entry>
- <entry>11</entry>
- <entry></entry>
- </row>
- <row>
- <entry>XML_NOTATION_NODE</entry>
- <entry>12</entry>
- <entry></entry>
- </row>
- <row>
- <entry>XML_GLOBAL_NAMESPACE</entry>
- <entry>1</entry>
- <entry></entry>
- </row>
- <row>
- <entry>XML_LOCAL_NAMESPACE</entry>
- <entry>2</entry>
- <entry></entry>
- </row>
- </tbody>
- </tgroup>
- </table>
- </section>
+ &reference.domxml.constants;
- <section id="domxml-classes">
+ <section id="domxml.classes">
<title>Classes</title>
<para>
The API of the module follows the DOM Level 2 standard as close
@@ -776,8 +694,8 @@
</para>
</section>
- <section id="domxml-examples">
- <title>Examples</title>
+ <section id="domxml.examples">
+ &reftitle.examples;
<para>
Many examples in this reference require a xml string. Instead of
repeating this string in any example it will be put into a file
Index: phpdoc/en/reference/domxml/constants.xml
+++ phpdoc/en/reference/domxml/constants.xml
<section id="domxml.constants">
&reftitle.constants;
&extension.constants;
<table>
<title>XML constants</title>
<tgroup cols="3">
<thead>
<row>
<entry>Constant</entry>
<entry>Value</entry>
<entry>Description</entry>
</row>
</thead>
<tbody>
<row>
<entry>
<constant>XML_ELEMENT_NODE</constant>
(<type>integer</type>)
</entry>
<entry>1</entry>
<entry>Node is an element</entry>
</row>
<row>
<entry>
<constant>XML_ATTRIBUTE_NODE</constant>
(<type>integer</type>)
</entry>
<entry>2</entry>
<entry>Node is an attribute</entry>
</row>
<row>
<entry>
<constant>XML_TEXT_NODE</constant>
(<type>integer</type>)
</entry>
<entry>3</entry>
<entry>Node is a piece of text</entry>
</row>
<row>
<entry>
<constant>XML_CDATA_SECTION_NODE</constant>
(<type>integer</type>)
</entry>
<entry>4</entry>
<entry></entry>
</row>
<row>
<entry>
<constant>XML_ENTITY_REF_NODE</constant>
(<type>integer</type>)
</entry>
<entry>5</entry>
<entry></entry>
</row>
<row>
<entry>
<constant>XML_ENTITY_NODE</constant>
(<type>integer</type>)
</entry>
<entry>6</entry>
<entry>Node is an entity like &nbsp;</entry>
</row>
<row>
<entry>
<constant>XML_PI_NODE</constant>
(<type>integer</type>)
</entry>
<entry>7</entry>
<entry>Node is a processing instruction</entry>
</row>
<row>
<entry>
<constant>XML_COMMENT_NODE</constant>
(<type>integer</type>)
</entry>
<entry>8</entry>
<entry>Node is a comment</entry>
</row>
<row>
<entry>
<constant>XML_DOCUMENT_NODE</constant>
(<type>integer</type>)
</entry>
<entry>9</entry>
<entry>Node is a document</entry>
</row>
<row>
<entry>
<constant>XML_DOCUMENT_TYPE_NODE</constant>
(<type>integer</type>)
</entry>
<entry>10</entry>
<entry></entry>
</row>
<row>
<entry>
<constant>XML_DOCUMENT_FRAG_NODE</constant>
(<type>integer</type>)
</entry>
<entry>11</entry>
<entry></entry>
</row>
<row>
<entry>
<constant>XML_NOTATION_NODE</constant>
(<type>integer</type>)
</entry>
<entry>12</entry>
<entry></entry>
</row>
<row>
<entry>
<constant>XML_GLOBAL_NAMESPACE</constant>
(<type>integer</type>)
</entry>
<entry>1</entry>
<entry></entry>
</row>
<row>
<entry>
<constant>XML_LOCAL_NAMESPACE</constant>
(<type>integer</type>)
</entry>
<entry>2</entry>
<entry></entry>
</row>
<!-- Following constants copied from appendices/reserved.constants.domxml.xml.
no someone familiar with this extension should do further work.
-->
<row>
<entry>
<constant>XML_HTML_DOCUMENT_NODE</constant>
(<type>integer</type>)
</entry>
<entry></entry>
<entry></entry>
</row>
<row>
<entry>
<constant>XML_DTD_NODE</constant>
(<type>integer</type>)
</entry>
<entry></entry>
<entry></entry>
</row>
<row>
<entry>
<constant>XML_ELEMENT_DECL_NODE</constant>
(<type>integer</type>)
</entry>
<entry></entry>
<entry></entry>
</row>
<row>
<entry>
<constant>XML_ATTRIBUTE_DECL_NODE</constant>
(<type>integer</type>)
</entry>
<entry></entry>
<entry></entry>
</row>
<row>
<entry>
<constant>XML_ENTITY_DECL_NODE</constant>
(<type>integer</type>)
</entry>
<entry></entry>
<entry></entry>
</row>
<row>
<entry>
<constant>XML_NAMESPACE_DECL_NODE</constant>
(<type>integer</type>)
</entry>
<entry></entry>
<entry></entry>
</row>
<row>
<entry>
<constant>XML_ATTRIBUTE_CDATA</constant>
(<type>integer</type>)
</entry>
<entry></entry>
<entry></entry>
</row>
<row>
<entry>
<constant>XML_ATTRIBUTE_ID</constant>
(<type>integer</type>)
</entry>
<entry></entry>
<entry></entry>
</row>
<row>
<entry>
<constant>XML_ATTRIBUTE_IDREF</constant>
(<type>integer</type>)
</entry>
<entry></entry>
<entry></entry>
</row>
<row>
<entry>
<constant>XML_ATTRIBUTE_IDREFS</constant>
(<type>integer</type>)
</entry>
<entry></entry>
<entry></entry>
</row>
<row>
<entry>
<constant>XML_ATTRIBUTE_ENTITY</constant>
(<type>integer</type>)
</entry>
<entry></entry>
<entry></entry>
</row>
<row>
<entry>
<constant>XML_ATTRIBUTE_NMTOKEN</constant>
(<type>integer</type>)
</entry>
<entry></entry>
<entry></entry>
</row>
<row>
<entry>
<constant>XML_ATTRIBUTE_NMTOKENS</constant>
(<type>integer</type>)
</entry>
<entry></entry>
<entry></entry>
</row>
<row>
<entry>
<constant>XML_ATTRIBUTE_ENUMERATION</constant>
(<type>integer</type>)
</entry>
<entry></entry>
<entry></entry>
</row>
<row>
<entry>
<constant>XML_ATTRIBUTE_NOTATION</constant>
(<type>integer</type>)
</entry>
<entry></entry>
<entry></entry>
</row>
<row>
<entry>
<constant>XPATH_UNDEFINED</constant>
(<type>integer</type>)
</entry>
<entry></entry>
<entry></entry>
</row>
<row>
<entry>
<constant>XPATH_NODESET</constant>
(<type>integer</type>)
</entry>
<entry></entry>
<entry></entry>
</row>
<row>
<entry>
<constant>XPATH_BOOLEAN</constant>
(<type>integer</type>)
</entry>
<entry></entry>
<entry></entry>
</row>
<row>
<entry>
<constant>XPATH_NUMBER</constant>
(<type>integer</type>)
</entry>
<entry></entry>
<entry></entry>
</row>
<row>
<entry>
<constant>XPATH_STRING</constant>
(<type>integer</type>)
</entry>
<entry></entry>
<entry></entry>
</row>
<row>
<entry>
<constant>XPATH_POINT</constant>
(<type>integer</type>)
</entry>
<entry></entry>
<entry></entry>
</row>
<row>
<entry>
<constant>XPATH_RANGE</constant>
(<type>integer</type>)
</entry>
<entry></entry>
<entry></entry>
</row>
<row>
<entry>
<constant>XPATH_LOCATIONSET</constant>
(<type>integer</type>)
</entry>
<entry></entry>
<entry></entry>
</row>
<row>
<entry>
<constant>XPATH_USERS</constant>
(<type>integer</type>)
</entry>
<entry></entry>
<entry></entry>
</row>
<row>
<entry>
<constant>XPATH_NUMBER</constant>
(<type>integer</type>)
</entry>
<entry></entry>
<entry></entry>
</row>
</tbody>
</tgroup>
</table>
</section>
<!-- 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
-->