Hi,
I have a case where I want to apply slight changes to a document. The
most part of the document should be left unchanged, though. By
"unchanged" I mean *really* unchanged: In particular the documents
syntactical representation must not be changed.
A particular difficult part seems to be the documents internal subset.
Of course, I can attach a DeclHandler and all that stuff. However, the
internal subsets formatting (in particular white space characters) is
lost. (See
https://issues.apache.org/jira/browse/XERCESJ-1144
on that part.) An obvious idea would be to use the SAX parsers
http://xml.org/sax/properties/xml-string
property, but that is not supported by Xerces.
Am I lost?
Jochen
--
Whenever you find yourself on the side of the
majority, it is time to pause and reflect.
(Mark Twain)
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]