Originally posted by premlatha:
Is there any way we can use copy-of and disable-output-escaping together?
No, there isn't, because it wouldn't make any difference. But that is all right, because disable-output-escaping would not have solved your problem anyway.
By the way, exactly why is that a problem? The XML that you are getting is well-formed, and it is exactly equivalent to the slightly different XML you say you want. All XML parsers will treat them as if they were exactly the same.
Where does this non-XML requirement come from?