Re: [docbook-apps] Re: DocBook XSL*2* stylesheet reorganization

From
Florent Georges <>
Date
2008-03-07T18:25:42+00:00
ID
Thread
Re: [docbook-apps] Re: DocBook XSL*2* stylesheet reorganization
Norman Walsh wrote:

> / Norman Walsh <> was heard to say:
> | Fair warning to those of you living on the bleeding edge.

> Here's the new idiom for XSLT2 customization layers:

  If you put this template rule in common/docbook.xsl, the
customization layer can either override template rules for precise
elements or override this template rule (matching "/") if he wants to
make something more complicated that needs to take control over the
overall processing.

  So the default rule for "/" launches the machinery as it should be,
and if one wants to override the rule for "/" in the cust. layer, he
will need to call the top-level functions (as in your email).

  Sounds more intuitive, doesn't it?

  Regards,

--drkm























      _____________________________________________________________________________ 
Envoyez avec Yahoo! Mail. Une boite mail plus intelligente http://mail.yahoo.fr