I load a neatly formated XML into Flash in the form of:
<?xml version="1.0" encoding="utf-8"?>
<root>
<settings
prop0="0"
prop1="1"
/>
</root>
But when I change the props values of the xml, and set it to the clipboard, I loose all of the tabs, spaces, and line breaks.
<?xml version="1.0" encoding="utf-8"?>
<root><settings prop0="0" prop1="1" /></root>
Is there a way to retain the formatting? I tried ignorWhitespaces, prettyIndent, prettyPrinting but non of those seem to work.