From e617dbeed007f56425874df320314d983484a2e7 Mon Sep 17 00:00:00 2001 From: David Croft Date: Sat, 28 Apr 2001 07:38:45 +0000 Subject: [PATCH] fix some spelling and grammar git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@46005 c90b9560-bf6c-de11-be94-00142212c4b1 --- functions/domxml.xml | 29 ++++++++++++++--------------- 1 file changed, 14 insertions(+), 15 deletions(-) diff --git a/functions/domxml.xml b/functions/domxml.xml index 09b8784478..4c97d2e208 100644 --- a/functions/domxml.xml +++ b/functions/domxml.xml @@ -4,7 +4,7 @@ - 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). @@ -15,14 +15,14 @@ These functions have been added in PHP 4. - 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 xmltree 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 dumpmem cannot be applied to it. Therefore, if you want to read an XML file and write a modified version use the add_node, - set_attribute, etc. and finaly + set_attribute, etc. and finally dumpmem functions. @@ -113,13 +113,12 @@ - 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_". This module defines a number of classes, which are listed — @@ -455,7 +454,7 @@ The function parses the XML document in the file named filename 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. See also xmldoc @@ -467,7 +466,7 @@ xmltree - Creates a tree of php objects from XML document + Creates a tree of PHP objects from XML document @@ -482,10 +481,10 @@ The function parses the XML document in str 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. @@ -508,7 +507,7 @@ 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.