xsl-list
[Top] [All Lists]

RE: [xsl] import, xslt 2.1

2010-03-12 08:00:33

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 


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>