468,531 Members | 1,640 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,531 developers. It's quick & easy.

help with xsl:if

I saw example of xsl:if and I want to use it.
I know that > is greater than. Is there one for equals to, I try &eq; and it does not recognize it. Where can I get a list for this?

Also, I have the following:

<xsl:variable name="oldID" select="oldid"/>

<xsl:variable name="currID" select="id"/>
<xsl:choose>
<xsl:when test="$currID != $oldID">>

but the test does not give me desired result. Am I missing something? This will work with the &gt;

Thanks.
Jun 8 '07 #1
1 4767
dorinbogdan
839 Expert 512MB
Welcome to TheScripts TSDN....

The code looks fine.
For "=" it's not required a symbol.
A list of symbols is here.

For more help please post more XSL code that can be tested, and XML too.

Dorin.
Jun 11 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

3 posts views Thread by Steven | last post: by
9 posts views Thread by Andrea Maschio | last post: by
2 posts views Thread by Jørn Tommy Kinderås | last post: by
3 posts views Thread by Eric Theil | last post: by
5 posts views Thread by Luke Vogel | last post: by
1 post views Thread by Fred | last post: by
4 posts views Thread by Doulos05 | last post: by
3 posts views Thread by z1 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.