I hope there is a simple solution to this, but I've been unable to
find it.
$dom = new DomDocument();
$dom->load("test.xml ");
$test = $dom->getElementsByT agName("test");
$test->nodeValue = "<b>test</b>";
$dom->save("test.xml ");
I would like the node in the xml file to look like:
<test><b>test </b></test>
Rather than the encoded version.
<b>test&l t;/b>
What can be done to accomplish this task?
Thank you
dwain
find it.
$dom = new DomDocument();
$dom->load("test.xml ");
$test = $dom->getElementsByT agName("test");
$test->nodeValue = "<b>test</b>";
$dom->save("test.xml ");
I would like the node in the xml file to look like:
<test><b>test </b></test>
Rather than the encoded version.
<b>test&l t;/b>
What can be done to accomplish this task?
Thank you
dwain
Comment