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


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

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

Subject: Re: [docbook-apps] How useful is chunker.output.indent?

Hi Peter,
The quality of the indenting depends on the XSLT processor. All that DocBook XSL is doing is passing along the setting to the processor. The stylesheet does not perform any indenting. What XSLT processor are you using? Does another processor give different results? HTML or XHTML?

The indent feature is supported along with all the other attributes of xsl:output for completeness, I believe.

The non-chunking stylesheet does not provide that option because its xsl:output element is hardwired in the stylesheet. To change it, you would need to create a customization layer to import the stylesheet and add your own xsl:output element to override it. However, if you use the onechunk.xsl stylesheet, you can generate a single output file and still use all the chunking parameters like chunker.output.indent.

Bob Stayton
Sagehill Enterprises

On 12/5/2013 6:47 PM, Peter Eisentraut wrote:
How useful is chunker.output.indent?  I noticed that it randomly indents
contents of elements where whitespace matters, such as <pre> in HTML
output.  That cannot possibly be useful except in the most trivial
documents.  Also, the non-chunking stylesheet html/docbook.xsl doesn't
even support turning on indent in xsl:output.  Is there any reason why
the chunking stylesheet supports it?

To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org

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