[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: Georges Schmitz <georges.schmitz@xxxxxxxxx> Date: Fri, 02 Mar 2007 11:52:57 +0100 |
I wasn't aware of use-when being evaluated at compile-time - I never used it until now. The usage of system properties came never to my mind before. I have to see how this would fit into the "ant" build process that is calling the stylesheet. Thanks, Georges Michael Kay wrote: > XSLT variables and parameters don't have a value until run-time, so you > can't refer to them in use-when. What you can do instead is to refer to Java > system properties > > use-when="system-property('slenderise.level') = '1'" > > which you can set from the command line using -Dslenderise.level=1 or from a > calling Java application using System.setProperty().
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] dynamically set priority , Michael Kay | Thread | Re: [xsl] dynamically set priority , Colin Paul Adams |
Re: [xsl] dynamically set priority , Georges Schmitz | Date | Re: [xsl] dynamically set priority , Colin Paul Adams |
Month |
Keywords