K
Kniffel
Hi
Is there a possibility to make an <xsl:when> on more than one
Selection?
Not that way:
<xsl:choose>
<xsl:when a=test>
Do this
<xsl:when a=test2>
Do this
<xsl:when a=test3>
Do this
<xsl
therwise>
Do something else
More this way:
<xsl:choose>
<xsl:when a=test or a=test2 or a=test3>
Do this
<xsl
therwise>
Do something else
Part of my xsl-file:
<xsl:variable name="attr" select="name()" />
<xsl:variable name="attrwert" select="." />
<xsl:choose>
***************************************************************
<xsl:when test="$attr='Aktiv'">
Do this
***************************************************************
</xsl:when>
....
</xsl:choose>
</xsl:choose>
In regards
Kniffel
Is there a possibility to make an <xsl:when> on more than one
Selection?
Not that way:
<xsl:choose>
<xsl:when a=test>
Do this
<xsl:when a=test2>
Do this
<xsl:when a=test3>
Do this
<xsl
Do something else
More this way:
<xsl:choose>
<xsl:when a=test or a=test2 or a=test3>
Do this
<xsl
Do something else
Part of my xsl-file:
<xsl:variable name="attr" select="name()" />
<xsl:variable name="attrwert" select="." />
<xsl:choose>
***************************************************************
<xsl:when test="$attr='Aktiv'">
Do this
***************************************************************
</xsl:when>
....
</xsl:choose>
</xsl:choose>
In regards
Kniffel