This is a discussion on word to xml within the alt.comp.lang.php forums, part of the PHP Programming Forums category; I have the following problem: 1) editor enters text from word into a texarea 2) editor saves data into mysql ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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 ? regards, Peter |
|
|||
|
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 |
![]() |
| Thread Tools | |
| Display Modes | |
|
|