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!