[XML-DEV Mailing List Archive Home]
[By Thread]
[By Date]
[Recent Entries]
[Reply To This Message]
RE: XSL INCLUDE PROBLEM
Title: Message
xsl:include is a compile-time facility for constructing
the stylesheet, this happens long before the values of variables are known and
before the source document is available. There are many solutions to your
requirement, basically
falling into three groups:
* conditional run-time logic within the
stylesheet
* selecting which stylesheet to apply at the time
you invoke the transformation
*
generating a new stylesheet for each transformation
You'd
be better directing the questions to xsl-list at http://www.mulberrytech.com.
Michael Kay Software AG home:
Michael.H.Kay@n... work: Michael.Kay@s...
-----Original Message----- From:
asim [mailto:qazi@a...] Sent: 07 January 2003
18:13 To: xml-dev@l... Subject: XSL
INCLUDE PROBLEM
I m Qazi Asim, i m having
a small problem in xsl include .... the problem is that i use this
statement to include the design of my webpage . "<xsl:include
href="../../Templates/template.xsl"/>" and was working very fine .. but now
i m trying to give my users a choose template option..... so i have to change
my include like this
<xsl:variable
name="templatepath"> ../skins/<xsl:value-of
select="//selected-template-id"/>/template.xsl </xsl:variable> <xsl:include
href="$templatepath"/>
* where the "selected-template-id" is name of the folder where the template is
saved
but this is not working .... it turns my page blank .....
plz help me .... solving this problem or tell me if there is any
alternative ....
thankx
QAZI
|
|
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
RSS 2.0 |
|
Atom 0.3 |
|
|
Stylus Studio has published XML-DEV in RSS and ATOM formats,
enabling users to easily subcribe to the list from their preferred news reader application.
|
Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website.
they were not included by the author in the initial post. To view the content without the Sponsor Links please
click here.
|
|