Re: SimpleXML and Default Cast To String
| From: | Adam Maccabee Trachtenberg | Date: | Wed, 07 Jan 2004 21:54:24 +0000 |
| Subject: | Re: SimpleXML and Default Cast To String | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-6829@lists.php.net to get a copy of this message | ||
On Wed, 7 Jan 2004, Blake Schwendiman wrote:
> Note that the embedded <i></i> text is missing. Internally, the cast is
> made using the xmlNodeListGetString function. Is there any reason that
> it makes more sense to do that rather than use the xmlNodeGetContent
> function. The latter function returns the complete text. I am a newbie
> to most of this, so there may be many reasons for the choice.
I would say this is a bug and we should switch to xmlNodeGetContent
instead.
-adam
--
adam@trachtenberg.com