Aleksander Slominski wrote:
> i would like to round-trip XML document content as UNICODE.

While we designed XNI to pass as much information as
reasonably possible, we don't intend it to be used for
100% round-trip processing.

However, you could do the following:

* before the root element
   * print line + '\n'
* in the DTD internal subset
   * print " [\n" on startInternalSubset
   * print line + '\n' on decls
   * print ']' on endInternalSubset
* after the root element
   * print '\n' + line

It won't come out exactly as it went in but it's
"pretty" enough for most people to read.

-- 
Andy Clark * [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to