in a word, no.
the xml reader parses the xml string to build the xml node values. the node values do not have any quoting. when the tree is written back to a string (xml writer) required quoting as used as needed.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I am working on a project that heavily uses XMLReader and loads data from an XML file.
When the data is read and contains and escape character.. e.g "
It automatically gets converted to a quote ".
Is there a way to stop this behavior without having to reprocess the data to put the escape commands back in.. So that the raw string with the original text "
Thanks for any help.
in a word, no.
the xml reader parses the xml string to build the xml node values. the node values do not have any quoting. when the tree is written back to a string (xml writer) required quoting as used as needed.