What is wrong here.

Here should go questions about transforming XML with XSLT and FOP.
JanePlain
Posts: 1
Joined: Thu Feb 01, 2007 6:10 pm

What is wrong here.

Post by JanePlain »

:D 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>
george
Site Admin
Posts: 2095
Joined: Thu Jan 09, 2003 2:58 pm

Post 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
George Cristian Bina
Post Reply