> 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
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
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 =
'';
When passing LIBXML_NOCDATA:
echo '' . print_r( json_decode( json_e
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 =
'';
When passing LIBXML_NOCDATA:
echo '' . print_r( json_decode( json_e
4 matches
Mail list logo