string comparison : very important.

S

Shiju Rajan

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,
 
A

Aguy2die4

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
473,999
Messages
2,570,243
Members
46,836
Latest member
login dogas

Latest Threads

Top