I opt to store user-defined data in CDATA blocks: <root> <mytag><![CDATA[#userDefinedStuff#]]></mytag> </root>
Another route is to use the XMLFormat() function. On 4/9/06, Josh Nathanson <[EMAIL PROTECTED]> wrote: > Hello All, > > When creating an xml document using cfxml, I get the following error: > > --------------- > An error occured while Parsing an XML document. > An invalid XML character (Unicode: 0x1c) was found in the element content of > the document. > ------------------ > > The values in question are text strings entered by users and could contain > tabs, carriage returns, line feeds etc. I've tried stripping those out > using Replace but no luck, and tried XmlFormat(variable) with no luck. > > When I look up the unicode character 0x1c00, it says it's unassigned. I > don't see anything weird in the string values that might be causing the > error. > > Any thoughts/ideas are appreciated. > > -- Josh Nathanson > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237309 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54