Re: XML_Tree and mixed content tags
| From: | Richard Heyes | Date: | Tue, 15 Apr 2003 09:18:15 +0000 |
| Subject: | Re: XML_Tree and mixed content tags | ||
| References: | 1 2 3 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-15177@lists.php.net to get a copy of this message | ||
> I get the feeling that the way that the XML_Tree does things at the
> moment is correct because if you look at a XHTML document, which is XML,
> you can do this sort of thing :
>
> <p>This is the start of the para, <b>followed by some bold</b>, and now
> we finish.</p>
>
> And if you are parsing this contents you most probably need to know that
> the bold tag comes after the first section of text and before the last
> section.
Yeah turns out this is correct, and other languages (eg. Java/C#) do it the
same way.
--
Richard Heyes
V-webmail - http://www.v-webmail.org