[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] Custom numbering scheme for a DocBook document(legal style stylesheet)
El lun, 04-10-2010 a las 09:06 -0400, Carlos Araya escribió: > Take a look at Bob Sayton's book, particularly the section n creating > customization layers. > http://www.sagehill.net/docbookxsl/CustomMethods.html#CustomizationLayer ; I think that'll help you achieve your objective. I have carefully read this document, and I understand how XSL works. I have tried many different options, even from different pages, but I have got no positive result. The piece of code that more accurately does the correct thing is: <xsl:template match="section"> <xsl:number level="any"/> <xsl:apply-templates/> </xsl:template> I have read on the book that XSL works with parameters, so I have tried the following (no positive result): <xsl:param name="section.number.level">any</xsl:param> and 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. Thank you.
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]