Hi all,
I have trouble with a xsl:when expression. My XML input looks like this:
<SET>
<SEVERITY value="Normal"/>
<TROUBLETICKET acknowledge="0"/>
</SET>
I would like to print "Yes" or "No" depending on the value of
@acknowledge
but had no success so far with different xsl expressions. This is what I
currently have:
<xsl:choose>
<xsl:when test="SET/TROUBLETICKET">
<tr>
<td>
<xsl:choose>
<xsl:when
test="xsl:value-of(select='SET/TROUBLETICKET/@acknowledge')='1'">Yes</xs
l:when>
<xsl:otherwise>No</xsl:otherwise>
</xsl:choose>
</td>
</tr>
</xsl:when>
</xsl:choose>
Can somebody help me with this expression?
Best regards,
Reiner.
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--