Taro Ikai wrote:
> I am having a few problems prettyprinting my Docbook documents.
You mean you are using it for HTML documents generated from DocBook
documents? If you use it for DocBook documents you are abusing Tidy AFAIK.
> I am using Cygwin distribution of Tidy.
[...]
Regarding problems with Tidy, I'd ask the Tidy people.
> Is there another tool I can use to prettyprint XML?
xmllint --format might work for you.
check
http://www.pinkjuice.com/howto/vimxml/setup.xml#xmllint
http://www.pinkjuice.com/howto/vimxml/tasks.xml#prettyprinting
If you encounter issues with xmllint, report them at
http://xmlsoft.org/bugs.html .
Alternatively, you could use a good XSLT processor such as Saxon;
especially recent (XSLT 2) versions offer some useful options for the
tasks you describe.
BTW: This type of topic is not really appropriate for
.
Please ask tool related questions on
http://docbook.org/wiki/moin.cgi/DocBookAppsMailingList ,
not on .
Tobi
--
http://www.pinkjuice.com/