Off topic but I am sure someone here might have seen this:
I have a web service which returns an xml document. Within this document I embed an xml document from a foreign source (so I dont want the validity of my xml to be predicated on whatever this provider happens to return. This foreign xml doc by the way contains a CDATA within it, so wrapping the full xml doc in CDATA does not work. The best I can come up with is to escape the entire foreign xml with <lt; and <gt;. Is there another better way to go about this?