What is doing that encoding? Trace the data flow to fnd out.
When saving XML strings, I usually encode them using escape() before sending, then unencode using unescape() after retreiving. This way I can do: var x:XML = XML(myStringXML); //OMIT the new. XML is a function, not a class Tracy ________________________________ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of djohnson29 Sent: Thursday, May 29, 2008 6:12 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] converting xml string containing special characters back to regular xml I have an xml variable that I need to store in my database as a string. So I've called .toXMLString() on the variable to turn it into a string and it's saved in the db. Now when it comes to loading that stored value back into a string variable , when I see the string representation of the xml it contains symbols instead of the angle brackets like so: <MyNode> </MyNode> How do I convert this back to XML? I would like to so something like this: var x:XML = new XML(myStringXML); but this does not correctly format the xml or convert the angled brackets. Can someone please point me in the right direction? Thanks!