Re: Embeding HTMl into a XML doc

From: Date: Thu, 22 Feb 2007 11:02:36 +0000
Subject: Re: Embeding HTMl into a XML doc
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-249217@lists.php.net to get a copy of this message
Dwain Crackel wrote:
The $dom->save(); command HTML encodes the text, as such I can't save html inside a XML node. Is there a way around this, as I would I like to do so? Thank you Dwain
http://www.w3schools.com/xml/xml_cdata.asp <![CDATA[ HTML in here ]]> should do the trick for you Mikey

« previous php.general (#249217) next »