[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

import/include with xsl:variable in href

Subject: import/include with xsl:variable in href
From: Dominik Zayer <dzayer@xxxxxxxxxxxxxx>
Date: 29 Aug 2005 18:02:39 +0200
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

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.