Re: How to preserve numeric entities when converting xml String to a org.w3c.dom.Document ?
| Newsgroups | gmane.text.xml.xalan.java.user |
|---|---|
| Message-ID | <OFDFC3FB54.B8FD0A8E-ON85257597.007C11EA-85257597.007C571E@lotus.com> |
The simple answer is "Sorry, but those two forms are absolutely identical in meaning as far as XML is concerned. If you're going through XML-based processing, either output is correct. Standard tools aren't going to maintain this distinction." The longer answer is that you could postprocess the XML-syntax text, or write your own serializer, to force the output into this form. ______________________________________ "... Three things see no end: A loop with exit code done wrong, A semaphore untested, And the change that comes along. ..." -- "Threes" Rev 1.1 - Duane Elms / Leslie Fish ( http://www.ovff.org/pegasus/songs/threes-rev-11.html)