Subject: RE: 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 |
|
Michael Kay - 12 Mar 2010 14:00:34 -0000 <=
Scott Trenda - 13 Mar 2010 22:40:25 -0000
|
|