string comparison : very important.

Shiju Rajan

Usenet Archive
Joined
Sep 28, 2004
Messages
6
Reaction score
0
Hi,
How do we compare strings in XSL. I have two strings like (cond1:Or:cond2) and cond1. When I do <xsl:if test="//PROPERTY/VALUE = $operand1"> </xsl:if>

The comparison is successful and it goes inside the if condition.

Thanks,
Shiju,
 

Aguy2die4

Usenet Archive
Joined
Dec 14, 2004
Messages
1
Reaction score
0
you can use the 'or' operator

<xsl:for-each select="broker|symbol">
</xsl:for-each>

tried it with for:each and works .. should work with if as well Cheers A
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
548,208
Messages
3,104,798
Members
249,594
Latest member
henrywalsh

Latest Threads

Top