Next in thread → Next in month →

Re: examples and toc

From
Jirka Kosek <>
Date
2008-06-04T13:33:44+00:00
ID
Thread
Re: examples and toc
Sam Steingold wrote:

> However, I find the "generate.toc" setting a little bit unsettling.
> I hate to reset a global parameter when in fact what I want is a small
> augmentation.
> I wonder if it is possible to do something like
> <xsl:param name="generate.toc">
> section   toc,example
> <xsl.xsl:value-of select="generate.toc"/>
> </xsl:param>

Unfortunatelly this is not possible in XSLT.

Stylesheets reimplementation in XSLT 2.0 will improve this as it is 
storing configuration not as a single string, but as an XML fragment.

-- 
------------------------------------------------------------------
   Jirka Kosek      e-mail:       http://xmlguru.cz
------------------------------------------------------------------
        Professional XML consulting and training services
   DocBook customization, custom XSLT/XSL-FO document processing
------------------------------------------------------------------
  OASIS DocBook TC member, W3C Invited Expert, ISO JTC1/SC34 member
------------------------------------------------------------------
Next in thread → Next in month →