RE: [PHP] XML Parsing Problem
| From: | Matthew Clark | Date: | Thu, 03 Jan 2002 00:41:38 +0000 |
| Subject: | RE: [PHP] XML Parsing Problem | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-79277@lists.php.net to get a copy of this message | ||
well thats just the way XML parsers work, according to the parser, what you
have there is not a single string element, you have three child elements
(the parent node being the <title>).. two string nodes broken up by an
entity node. In other circumstances, this behaviour can be very useful.
Matt.
-----Original Message-----
From: Ben Gollmer [mailto:ben@jatosoft.com]
Sent: 02 January 2002 23:16
To: matt@genicomsystems.com
Cc: php-general@lists.php.net
Subject: Re: [PHP] XML Parsing Problem
Ok, I can understand the predefined entity replacement. But why does it
break the string up into 3 parts? I think it should just return
"Follow-up To Critique of BeOS & Mac OS X".
Ben