Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Jason Kirk
July 15, 2005, 1:07 am
rate this thread
I've got a file that includes some numeric entities (… etc). I use
$domdoc->loadXML('filename.xml') and the other dom function to load the
file into an array and display it for editing in a html form. Except
that the entities always get decoded (i.e. turned into single
characters) without me specifically asking for it. The reverse is also
true - if I ask the dom functions to build an xml file that includes a
numeric entity the bloody thing just decodes it again. Is there any way to
get the damn thing to stop decoding them.