The only custom templates that need a priority="1" are those in which the original appears in chunk-code.xsl and that has a match attribute. Your template is probably for formatting the chapter, not altering its chunk behavior.

Bob Stayton
Sagehill Enterprises
[EMAIL PROTECTED]


----- Original Message ----- From: "Boris" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Tuesday, September 02, 2008 4:44 PM
Subject: [docbook-apps] Re: HTML chunks not written if template for chapter inserted into customization layer


On Wed, 03 Sep 2008 01:16:00 +0200, Bob Stayton <[EMAIL PROTECTED]> wrote:

Hi Boris,
Customization of the DocBook chunking stylesheets requires a two-stage customization: one stage for formatting elements such as d:chapter, and the other for chunking elements like d:chapter. See this reference for a detailed explanation of why that is and how to customize the chunking stylesheets:

http://www.sagehill.net/docbookxsl/ChunkingCustomization.html

Thanks for the link! I think I would have never found out without the description how to make this work. :)

By the way, is it still required to add priority="1"? My <xsl:template match="d:chapter"> seems to work without priority="1"?

Boris

[...]


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





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

Reply via email to