I have a problem with an xsl:if in a .xsl file.
 
          <xsl:if test="/page/querystring/KT_FormState/text()='Detail'">
           <xsl:value-of select="page/querystring/KT_FormState"/>
          </xsl:if>
 
the condition never evaluates true.
Help !
Thanx.
 
the xml file looks like this:
<page>
<querystring>
 <value>
  <xsp:expr>request.getQueryString()</xsp:expr>
 </value>
 <KT_FormState>
  Detail
 </KT_FormState>
 <KT_recordId>
  1
 </KT_recordId> 
</querystring>
</page>

Reply via email to