OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [docbook] Question about prettyprinting Docbook documents and character entities


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
docbook@lists.oasis-open.org .

Please ask tool related questions on
docbook-apps@lists.oasis-open.org
http://docbook.org/wiki/moin.cgi/DocBookAppsMailingList ,
not on docbook@lists.oasis-open.org .

Tobi

-- 
http://www.pinkjuice.com/



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]