Which XML DOM (PHP4) function is used to put text data with HTML code in the XML Document (like <strong></strong> and <br />)?
A little more in depth..:
I created an XML document from MySQL data.
On the string, I use the nl2br function which created <br /> for newlines.
The output it creates is this:
$value = $XML->create_text_node(nl2br($Object['obj3_text1']));
$value = $a->append_child($value);
The < > chars are showed as they would in HTML, and I don't really now what's "
<a href="http://www.google.com" title="Google INC">Google is a market leader search engine. <br />
It seems that I need to add some kind of node as a whole here, with the inside tags.