xsl-list
[Top] [All Lists]

Dynamic include

2002-09-12 03:25:02
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



<Prev in Thread] Current Thread [Next in Thread>