Posted by Janwillem Borleffs on 12/06/07 16:16
Peter schreef:
> I have the following problem:
>
> 1) editor enters text from word into a texarea
> 2) editor saves data into mysql dbase
> 3) editor hits button "generate rss.xml"
>
> the problem is that some word characters cant be used in the xml and
> therefore the output rendered can not be used (or is not rendered at all)
>
> is there a 'simple' way to solve my problem ?
>
Capture the content in a CDATA section:
<?xml version='1.0' ?>
<rss>
<content><![CDATA[ .... ]]></content>
</rss>
JW
[Back to original message]
|