From: Jon Parise Date: Sat, 17 Jan 2004 20:02:01 +0000 (+0000) Subject: Spell 'element' correctly. X-Git-Tag: php_ibase_before_split~147 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c303c352d0d7eb4dc839a64086296c1e1c69bcb2;p=php Spell 'element' correctly. --- diff --git a/ext/simplexml/README b/ext/simplexml/README index f99f6ac3c9..7b8fcf3d7b 100755 --- a/ext/simplexml/README +++ b/ext/simplexml/README @@ -8,7 +8,7 @@ SimpleXML objects follow four basic rules: 4) string conversion allows to access TEXT data When iterating proerties then the extension always iterates over -all nodes with that elemtnt name. Thus method childen() must be +all nodes with that element name. Thus method childen() must be called to iterate over subnodes. But also doing the following: foreach $obj->node_name as $elem) { // do something with $elem @@ -31,4 +31,4 @@ TODO At the moment property access to multiple elements of the same name returns an array of SimpleXML objetcs. This should be an object of a new type instead so that all kinds of linkage, -assignment and deleting would work. \ No newline at end of file +assignment and deleting would work.