Oxygen XML Editor
 
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: [xsl] dynamically set priority in xsl:template


Subject: RE: [xsl] dynamically set priority in xsl:template
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Fri, 2 Mar 2007 09:22:31 -0000

> I want to dynamically set the priority of a template (with 
> $expand.level), with the objective to control the "amount of output"
> from outside the stylesheet via parameter setting.

Can't be done. It's one of many things in a stylesheet that's fixed at
compile time. You can modify the stylesheet (using XSLT of course) before
it's compiled, or in 2.0 you can use the use-when attribute to do
conditional compilation.

Michael Kay
http://www.saxonica.com/


Current Thread
 
© 2002-2008 SyncRO Soft Ltd. All rights reserved. | Sitemap | Privacy Policy
This website was created & generated with <oXygen/> XML Editor
Keywords