This is the mail archive of the
docbook@lists.oasis-open.org
mailing list for the DocBook project.
[docbook] Question about prettyprinting Docbook documents and character entities
- From: Taro Ikai <tikai at ABINITIO dot COM>
- To: docbook at lists dot oasis-open dot org
- Date: Wed, 9 Jul 2003 11:34:15 -0400
- Subject: [docbook] Question about prettyprinting Docbook documents and character entities
I am having a few problems prettyprinting my Docbook documents. I am using
Cygwin distribution of Tidy.
1) Tidy seems to translate the character entities:
  into a two-byte sequence of 0x20, 0x02, and
  into a two-byte sequence of 0x20, 0x03
Is this expected? I want to keep the &entityname; notations in the output.
How can I do this?
2) Tidy fails to produce any output with Japanese UTF-8 encoded documents.
Is there another tool I can use to prettyprint XML?
Also, if there are any tried&true rules about how to format XML documents
so that they are
easy to diff between versions, merge using source code control systems,
etc., I'd appreciate
your input.
Thank you in advance.
Taro Ikai
---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: docbook-help@lists.oasis-open.org