Subject:can anyone implement 'if then else' loop using xslt? Author:Tony Lavinio Date:30 Aug 2007 04:45 PM
You don't put things in order like that in XSLT.
The trick is to define your variables like this:
<xsl:variable name="...">
<xsl:if test="...">
...
</xsl:if>
</xsl:variable>