XSLT: If/else Question **SOLVED**
Hey all, I have a small question concerning XSLT!
Lets say I have a xml Document with this structure:
<result>
<id>1234</id>
<test>0</id>
</result>
Now, what I want to do in my XSLT is to read the value of test. If that value is 0 or null, perfom some xslt else perform some different xslt.
I know how to do a choose to see if an element is there but I dont know how to get the value:
Heres what I have upt till now:
<xsl:choose>
<xsl:when test="test">
// do something
</xsl:when>
</xsl:choose>
<xsl: otherwise>
// do something different
</xsl: otherwise>
Thanx in advance,
Stephan