XML_Tree and mixed content tags
| From: | Richard Heyes | Date: | Mon, 14 Apr 2003 10:36:27 +0000 |
| Subject: | XML_Tree and mixed content tags | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-15160@lists.php.net to get a copy of this message | ||
Hi,
When XML_Tree parse the following XML:
<tree>4
<node></node>
</tree>
It produces a single root node (<tree>) but with two child nodes instead of
one. The first child node is for the "4" content, and the second for the
<node> tag. Is this correct? IMO there should only be only a single child
node, with the content being assigned to the root <tree> node.
Cheers.
--
Richard Heyes
V-webmail - http://www.v-webmail.org