save DFXP as XML

Since DFXP is XML format, we should probably save it like XML. And in this case we should wrap text in CDATA to prevent problems with text that includes inappropriate (for XML) symbols.