cvs: phpdoc /en/functions domxml.xml

From: Date: Sat, 28 Apr 2001 07:38:46 +0000
Subject: cvs: phpdoc /en/functions domxml.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969335157@lists.php.net to get a copy of this message
david Sat Apr 28 00:38:46 2001 EDT Modified files: /phpdoc/en/functions domxml.xml Log: fix some spelling and grammar Index: phpdoc/en/functions/domxml.xml diff -u phpdoc/en/functions/domxml.xml:1.11 phpdoc/en/functions/domxml.xml:1.12 --- phpdoc/en/functions/domxml.xml:1.11 Wed Feb 7 02:53:47 2001 +++ phpdoc/en/functions/domxml.xml Sat Apr 28 00:38:45 2001 @@ -4,7 +4,7 @@ <partintro> <simpara> - This documentation ist not finished yet. Don't start to translate it + This documentation is not finished yet. Don't start to translate it or use it as a programming reference (steinm@php.net). </simpara> <simpara> @@ -15,14 +15,14 @@ These functions have been added in PHP 4. </simpara> <simpara> - The extension allows to operate on an XML document with the DOM api. + The extension allows you to operate on an XML document with the DOM API. It also provides a function <function>xmltree</function> to turn the - complete XML document into a tree of php objects. Currently this - tree is read only, which doesn't mean you cannot modify it, but it + 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>dumpmem</function> cannot be applied to it. Therefore, if you want to read an XML file and write a modified version use the <function>add_node</function>, - <function>set_attribute</function>, etc. and finaly + <function>set_attribute</function>, etc. and finally <function>dumpmem</function> functions. </simpara> <simpara> @@ -113,13 +113,12 @@ </tgroup> </table> <simpara> - Each function in this extension can be used in two ways. In a none object + Each function in this extension can be used in two ways. In a non-object oriented way by passing the object to apply the function to as a first - argument or in an object oriented way by calling the function as a method - of an object. This documentation describes the none object oriented + argument, or in an object oriented way by calling the function as a method + of an object. This documentation describes the non-object oriented functions, though you get the object methods by skipping the prefix - "domxml_". The following table will list all classes, its attributes and - methods. + "domxml_". </simpara> <simpara> This module defines a number of classes, which are listed &mdash; @@ -455,7 +454,7 @@ The function parses the XML document in the file named <parameter>filename</parameter> and returns an object of class "Dom document", having the properties as listed above. - The file is accessed read only. + The file is accessed read-only. </para> <simpara> See also <function>xmldoc</function> @@ -467,7 +466,7 @@ <refnamediv> <refname>xmltree</refname> <refpurpose> - Creates a tree of php objects from XML document + Creates a tree of PHP objects from XML document </refpurpose> </refnamediv> <refsect1> @@ -482,10 +481,10 @@ The function parses the XML document in <parameter>str</parameter> and returns a tree PHP objects as the parsed document. This function is isolated from the other functions, - which means, you cannot access the tree wiht any of the other functions. + which means you cannot access the tree with any of the other functions. Modifying it, for example by adding nodes, makes no sense since there is currently no way to dump it as an XML file. - Though this function may be valueable if you want to read a file and + However this function may be valuable if you want to read a file and investigate the content. </para> </refsect1> @@ -508,7 +507,7 @@ </funcsynopsis> <para> Returns element node located at the root of a an DOM document. - There are actually other possible nodes like comments which currently + There are actually other possible nodes like comments which are currently disregarded. </para> <para>

« previous php.doc (#969335157) next »