| -----Original Message----- | From: Néstor Amigo Cairo | | But I am stuck because I cannot change the element xsl:number without | having to rewrite a new template from scratch. | | I would just like to change <xsl:number> element to have the | attribute | "level=any" inside a <section> element.
You don't have to write a new template from scratch. You need to copy an existing template to your customization layer and make a small modification to it. In DocBook-XSL (and DBLaTeX too) it is the template with match="section" and mode="label.markup" in common/labels.xsl. You need to change <xsl:number format="{$format}" count="section"/> to <xsl:number format="{$format}" count="section" level="any"/> Mauritz --------------------------------------------------------------------- To unsubscribe, e-mail: docbook-apps-unsubscr...@lists.oasis-open.org For additional commands, e-mail: docbook-apps-h...@lists.oasis-open.org