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:[EMAIL PROTECTED]]
Sent: 02 January 2002 23:16
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
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 &amp; Mac OS X".

Ben



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to