xsl-list
[Top] [All Lists]

workaround for parameter in include statement?

2002-11-27 05:40:27
Hi friends,

i know you cannot apply following because of syntax reasons:

<xsl:include href="{concat($urlGlobalXsl,'frame_properties.xsl')}"/> 

Is there a workaround with purely client-side xsl to selecting a url with a 
variable ?

Because i don´t want to do an hardcoded

<xsl:include href="/ho/global/xsl/frame_properties.xsl"/> 

if in the future we change our directory structure or the client have other 
structure to implement.


Or is this only possibly with a server-side pipeline xml-transformation or two 
steps xsl-transformation: Like " 1.get this defaultValue from your 
settings.xml" > "2.write this xslt-stylesheet" "3.Apply that stylesheet for the 
xml-source-tree-information you want transform."

Thanks for your patience and time,

Greetings,


Hans Braumüller 
Systementwickler Web-Design 
Hanse Orga AG
Sportallee 41 
D-22335 Hamburg 
Telefon: (+49) 040 51 48 08-62 
Telefax: (+49) 040 51 48 08-88 
E-Mail: h(_dot_)braumueller(_at_)hanseorga(_dot_)de 


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list