Subject: RE: [xsl] import, xslt 2.1 From: "Michael Kay" <mike@xxxxxxxxxxxx> Date: Fri, 12 Mar 2010 14:00:09 -0000 |
> Given a 'library' of xslt templates, functions, I want to use > that in various places. Could be href='xxx.xsl' or > href='../f/xxx.xsl' > or href='concat($path,"xxx.xsl")' > > Currently there seems to be no way I can vary this using say, an avt. > > Any reason this shouldn't be an avt? > You can't evaluate an AVT until AFTER you have included all the required stylesheets. If you want a compile-time conditional, you can have several xsl:includes each governed by a use-when attribute. Regards, Michael Kay http://www.saxonica.com/ http://twitter.com/michaelhkay
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] import, xslt 2.1, Dave Pawson | Thread | RE: [xsl] import, xslt 2.1, Scott Trenda |
[xsl] HTTP-Header charset different, Bartolomeo Nicolotti | Date | Re: [xsl] HTTP-Header charset diffe, Jacobus Reyneke |
Month |