Re: [PHP] Issues with simplexml_load_string()

2011-10-07 Thread Christoph Boget
> http://us.php.net/manual/en/function.simplexml-load-string.php#80855 maybe? Thanks for that. I guess I should have scrolled a little further down. It's so crazy that it works that way. Unless you export the actual element (and not it's ancestors), you don't see the data at all. thnx, Christo

Re: [PHP] Issues with simplexml_load_string()

2011-10-06 Thread Benjamin Hawkes-Lewis
On Thu, Oct 6, 2011 at 9:50 PM, Christoph Boget wrote: > It seems like when dealing with nodes which have CDATA, I cannot get > access to both the attributes of that node and the CDATA of that node > with the same simplexml_load_string() call.  Consider the following: > > $previewString = > ' name