[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
RE: [xsl] Help with an xsl:if
Subject: RE: [xsl] Help with an xsl:if From: <Trish@xxxxxxxxxxxxxx> Date: Thu, 8 May 2008 14:12:19 -0400 |
try: != instead of =! -----Original Message----- From: Michelle Tarby [mailto:tarbymm@xxxxxxxxxxx] Sent: Thursday, May 08, 2008 2:03 PM To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: [xsl] Help with an xsl:if I can't figure out what I'm doing wrong with this statement. If I take out the xsl:if, everything displays properly, but I'd like to only display crosslist if there's something other than none as a value: <xsl:for-each select="fll/class"> <xsl:value-of select="number"/>. <xsl:value-of select="title"/> (<xsl:value-of select="credits"/>) <xsl:if test="crosslist=!'none'"> <xsl:value-of select="crosslist" /> </xsl:if> <xsl:value-of select="prereq"/><br /> <xsl:value-of select="description"/><br /><br /> </xsl:for-each> Any suggestions would be appreciated. -- Michelle Tarby Director of Web Services Information Technology Le Moyne College http://www.lemoyne.edu tarbymm@xxxxxxxxxxx ***************************** "That's the beauty of tomorrow. There is no such thing as a setback. The lessons I learn today I will apply tomorrow, and I will be better." - Tiger Woods
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Help with an xsl:if, Michelle Tarby | Thread | RE: [xsl] Help with an xsl:if, Michael Kay |
[xsl] Help with an xsl:if, Michelle Tarby | Date | RE: [xsl] Finding Nodes That Match , Trish |
Month |