fix some spelling and grammar

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@46005 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
David Croft 2001-04-28 07:38:45 +00:00
parent effa1957ca
commit e617dbeed0

View file

@ -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>