Subject: RE: [xsl] misc. confusion on "footnote" handling From: "Michael Kay" <mhk@xxxxxxxxx> Date: Thu, 26 Aug 2004 17:48:46 +0100 |
> >Is there some smart way I can have one main stylesheet that imports > >different stylesheets depending on that main "class" parameter? > There's a new facility coming along in the next draft of 2.0 which allows a kind of compile-time conditional, for example you will be able to say: <xsl:import href="thing.xsl" use-when="system-property('xsl:vendor-url') = 'http://www.saxonica.com/'"/> Vendors are allowed to define their own system property names, so a possible scenario is that implementations will allow access to operating system environment variables or Java system properties, or even to options specified in some way on the (compile-time) command line. Michael Kay
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] misc. confusion on "footn, Wendell Piez | Thread | Re: [xsl] misc. confusion on "footn, Bruce D'Arcus |
Re: [xsl] Urgent help required Node, Josh Canfield | Date | RE: [xsl] groupi-by statements?, Michael Kay |
Month |