|
Subject: [xsl] Multiple expressions in if conditons From: "Thangavelu Srinivasan" <vasantry@xxxxxxxxx> Date: Fri, 16 Feb 2007 19:50:28 +0530 |
I am using xslt 1.0. I am facing the problem in if conditions. Any suggestions are welcome
My XSL
<xsl:for-each select="//*">
<xsl:variable name="code" select="name()" />
<xsl:variable name="value" select="." />
<xsl:if test= "$code != ('state_results') or ('game_results')">
<subject_code><xsl:value-of select="name()"/></subject_code>
<subject_value><xsl:value-of select="."/></subject_value>
<xsl:text disable-output-escaping="yes"> </xsl:text>
</xsl:if>
</xsl:for-each>I am not able to test multiple value using if condition. i want to confirm whether my if conditon is correct for checking multiple value
Regards Srinivas
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: [xsl] Computing Number of Days , Roger L. Cauvin | Thread | Re: [xsl] Multiple expressions in i, Ronan Klyne |
| Re: [xsl] XHTML html validation, Abel Braaksma | Date | Re: [xsl] Multiple expressions in i, Ronan Klyne |
| Month |