|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] import/include with xsl:variable in href
Hi
I have some kind of generic transformation stylesheet to tranform my own
markup in a couple of others (xhtml, wml, chtml).
I too have several other, more specific stylesheets and i'm in need to
import one of those to my main stylesheet.
Right now i'm writing a xsl:variable element to the stylesheet before
transformation which specifies, which stylesheet to import.
Then i'm trying something like this:
<xsl:variable name="import_test">foo</xsl:variable>
<xsl:import href="/xxx/yyy/zzz/{$import_test}.xsl"/>
This is not working (i think cause import is only allowed as first
child), but when i try soemthing similar with "include" it's still not
working.
Just a syntax issue?
Or a totaly wrong approach ?
Is it possible at all to use a xsl:variable in the href-attribut?
Thanks for any help or hints!
Dominik
--
Dominik Zayer > Development
iconmobile GmbH > Methfesselstr. 32-36 > D-10965 Berlin
phone +49 30 890 686 32 > fax +49 30 890 686 50
dzayer@xxxxxxxxxxxxxx > http://www.iconmobile.com
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








