Page 1 of 1
What is wrong here.
Posted: Thu Feb 01, 2007 6:14 pm
by JanePlain

What is wrong here. I have used same code different condition thru out the page. But when I had this in it just stopped working .... no error msg ... nothing.
<xsl:choose>
<xsl:when test="//FormData//Field[@name='PMname']/value ='NEWPROMO'">
<tr>
</xsl:when>
<xsl:otherwise>
<tr style="display:none">
</xsl:otherwise>
</xsl:choose>
Posted: Thu Feb 01, 2007 7:18 pm
by george
XSLT documents are XML documents, that means they need to be wellformed, in particular all open tags should be properly closed, which is not the case in your sample.
Regards,
George