This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Dynamic include
- From: Cédric Claus <cedric dot claus at u-mangate dot com>
- To: XSL list <xsl-list at lists dot mulberrytech dot com>
- Date: Thu, 12 Sep 2002 12:25:02 +0200
- Subject: [xsl] Dynamic include
- Reply-to: xsl-list at lists dot mulberrytech dot com
Hi
I have three xsl doc:
-principal.xsl
-menu.xsl
-content.xsl
In principal.xsl, I do a xsl:include that includes the two other XSL.
Now I want to do a dynamic include depending on a tag of my XML document.
For example:
xml: <include>page1.xsl<include>
principal.xsl : <xsl:include><xsl:attribute name="href"><xsl:valueof
select"include"/></xsl:attribute></xsl:include>
this method is naturally wrong. Any idea?
Thank you for your help
Ced
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list