Now I'm not only TALKING to myself while I work...I'm emailing my self too! :P
If someone can point out what I'm doing wrong here - I thought I've finally hacked a way of using CDATA on the fly: - when adding a new CDATA node I add a new element/textnode with something as a flag to parse for (ie "###") - flip the xml toString() - split with that flag ("###") - glue the CDATA together with array[0] + CDATA + array[1] All this successfully gives me an xml string with CDATA in it. NOW if I throw it back into a new XML(theTxt), this changes all the special characters of the XML into urlencoded characters (")....but if I take that node and unescape it's nodeValue, it's actually correct, like so: <TEXTFORMAT LEADING="2"><P ALIGN="LEFT"><FONT FACE="verdana" SIZE="14" COLOR="#003366" LETTERSPACING="0" KERNING="0">I am <b>SUCH</b>an asshole!</FONT></P></TEXTFORMAT> _______________________________________________ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com