Yolanda:
<xsl:include ...> must be a top level element, and there's no direct way to
make it conditional. The only obvious solution is to create one stylesheet that
creates a second stylesheet with the proper includes where they belong.
Yolanda Garrido wrote:
Hello,
I´m trying to include some xsl into one xsl... something like this:
<xsl:choose>
<xsl:when test="$MyVariable = 1">
<xsl:include href="xslinclude.xsl">
</xsl:when>
<xsl:otherwise>
<xsl:include href="xslinclude.xsl">
</xsl:otherwise>
</xsl:choose>
I get error with this... anybody knows how to solve this???
Thanks
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
--
--------------------------
Jeff Kenton
DataPower Technology, Inc.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list