note 19451 deleted from function.xmltree by nlopess
| From: | nlopess@php.net | Date: | Sat, 26 Jun 2004 16:48:26 +0000 |
| Subject: | note 19451 deleted from function.xmltree by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-71792@lists.php.net to get a copy of this message | ||
Note Submitter: ed@concordia.ab.ca
----
After 4.1.0, a tag's ->name property is now referenced as ->tagname. Attributes retain
the previous ->name nomenclature.
For tags, $child->name becomes $child->tagname. For attributes, you'd still use
$child->name.
Note also that text sections are no longer nested in their containers with a name of
'text', instead they are accessed as a property of their parents named 'value'.
For instance, $child->children[0]->content becomes $child->value.