This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Template parameter in conditional stmts
- To: "XSL-List" <XSL-List at lists dot mulberrytech dot com>
- Subject: [xsl] Template parameter in conditional stmts
- From: "Sudhakar Barua" <sudhakar dot barua at adakos dot com>
- Date: Fri, 2 Feb 2001 15:53:27 +0100
- Reply-To: xsl-list at lists dot mulberrytech dot com
- Sensitivity: Private
Hi, I have a xsl template like this
................................................................................................
<xsl:template name="CHOOSE_TEMPLATE">
<xsl:param name="WHICH_TO_CHOOSE"/>
<xsl:choose>
<xsl:when test="$WHICH_TO_CHOOSE='doc1_CNode_32893_Node_Title'">
<xsl:call-template name="doc1_CNode_32893_Node_Title"/>
</xsl:when>
</xsl:choose>
</xsl:template>
...............................................................................................
The conditional statement("when-test") where I use the parameter value doesn't work. How do I make it work?
Regards,
Sudhakar
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list