[Home] [By Thread] [By Date] [Recent Entries]

  • To: <xml-dev@l...>
  • Subject: XSL INCLUDE PROBLEM
  • From: "asim" <qazi@a...>
  • Date: Tue, 7 Jan 2003 10:12:38 -0800


   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

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member