With reference to this question http://stackoverflow.com/questions/3850315/java-splitting-up-a-large-xml-file-with-saxparser I'm essentially reading in an xml file using SAXParser
and echoing it to another file.
My problem is that the content of my input file contains character references which are being decoded on reading in. How can I stop this? I want to write out the raw characters with no decoding of references.
(I can't give an example as they are decoded in the page!)