From 8c63df0722bc8003d216d4cd113cc599d878f245 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kristian=20K=C3=B6hntopp?= Date: Fri, 3 Mar 2000 22:48:08 +0000 Subject: [PATCH] first stab at domxml module documentation. git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@20914 c90b9560-bf6c-de11-be94-00142212c4b1 --- functions/domxml.xml | 266 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 266 insertions(+) create mode 100644 functions/domxml.xml diff --git a/functions/domxml.xml b/functions/domxml.xml new file mode 100644 index 0000000000..bbcc0aa81a --- /dev/null +++ b/functions/domxml.xml @@ -0,0 +1,266 @@ + + DOM XML functions + DOM XML + + + + These functions are only available if PHP was configured with + , using the + GNOME xml library. These functions have been added in PHP4. + + + + This module defines the following constants: + + XML constants + + + + Constant + Value + Description + + + + + XML_ELEMENT_NODE + 1 + + + + XML_ATTRIBUTE_NODE + 2 + + + + XML_TEXT_NODE + 3 + + + + XML_CDATA_SECTION_NODE + 4 + + + + XML_ENTITY_REF_NODE + 5 + + + + XML_ENTITY_NODE + 6 + + + + XML_PI_NODE + 7 + + + + XML_COMMENT_NODE + 8 + + + + XML_DOCUMENT_NODE + 9 + + + + XML_DOCUMENT_TYPE_NODE + 10 + + + + XML_DOCUMENT_FRAG_NODE + 11 + + + + XML_NOTATION_NODE + 12 + + + + XML_GLOBAL_NAMESPACE + 1 + + + + XML_LOCAL_NAMESPACE + 2 + + + + +
+
+ + This module defines a number of classes. The DOM XML + functions return a parsed tree of the XML document with + each node being an object belonging to one of these classes. + + + + + + + + + + + + + +
+ + + + xmldoc + Creates a DOM object of an XML document + + + Description + + object xmldoc + string str + + + The function parses the XML document in + str and returns an object of class + "Dom document", having the properties "doc" (resource), + "version" (string) and "type" (long). + + + + + + + xmldocfile + Creates a DOM object from XML file + + + Description + + object xmldocfile + string filename + + + The function parses the XML document in the file named + filename and returns an object of class + "Dom document", having the properties "doc" (resource), + "version" (string). + + + + + + + + + xmltree + Creates a tree of php objects from XML document + + + Description + + object xmltree + string str + + + The function parses the XML document in + str and returns a tree PHP objects + as the parsed document. + + + + +