I've got a bit of a problem trying to nest xsl:choose statements, my
xsl is as follows :
<xsl:choose>
<xsl:when test="ULE/Data/In[number(POLICY_TERM) = 1]">
<xsl:choose>
<xsl:when test="ULE/Data/In[PREMIUM_MODE = 'MONTHLY']">
text here </xsl:when>
<xsl:otherwise>
more text here </xsl:otherwise>
</xsl:choose>
</xsl:when>
<xsl:otherwise>
<xsl:choose>
<xsl:when test="ULE/Data/In[PREMIUM_MODE = 'MONTHLY']">
some more text here
</xsl:when>
<xsl:otherwise>
some more text here
</xsl:otherwise>
</xsl:choose>
</xsl:otherwise>
</xsl:choose>
When I try and transform this I get the error : End tag 'xsl:when'
does not match the start tag 'xsl:choose'.
I've looked over it and the only thing I can think of is that xsl
doesn't support nested choose statements?
Any help will be greatly appreciated.
Thanks
Shaun Bonanos
Bottom line is you can nest choose stmts, as I do it all the time. I would
start with a simple choose statement and gradually add to it.
Sorry couldn't be of more help.
Steve
"shaun" <tri...@hotmail.com> wrote in message
news:2cb684e.01081...@posting.google.com...