Page 1 of 1

How to disable MSXML output escaping?

Posted: Thu Jun 06, 2019 5:20 pm
by jamesbowers
I'm writing a simple XML file using the MSXML client for consumption by another program. The problem is on the text attributes of each of my elements, MSXML is deciding to provide escape characters. While this might be okay, the resulting characters are rejected by the other program upon load.

More or less, I need MSXML to leave my text alone, so I can escape the text properly to suit the program my file is getting inputted on. Any ideas on making this happen?

Re: How to disable MSXML output escaping?

Posted: Fri Jun 07, 2019 7:44 am
by Radu

Maybe you could have given a small example with the characters which are escaped.
XSLT processors need to produce valid XML content. So usually various characters like "<" and "&" are required to be escaped in the produced XML text otherwise the produced XML content would not be valid.