LISTSERV mailing list manager LISTSERV 15.5

Help for XML-L Archives


XML-L Archives

XML-L Archives


View:

Next Message | Previous Message
Next in Topic | Previous in Topic
Next by Same Author | Previous by Same Author
Chronologically | Most Recent First
Proportional Font | Monospaced Font

Options:

Join or Leave XML-L
Reply | Post New Message
Search Archives


Subject: Re: AND or OR in XSLT
From: Ben Lam <[log in to unmask]>
Reply-To:General discussion of Extensible Markup Language <[log in to unmask]>
Date:Tue, 3 Apr 2001 02:32:10 -0700
Content-Type:text/plain
Parts/Attachments:
Parts/Attachments

text/plain (18 lines)


Use two <xsl:when> elements and one <xsl:otherwise> nested within a single
<xsl:choose element>

On Tuesday, April 3, 2001, at 02:17 AM, Sprinna wrote:

> Hi, there,
> Following is to set attribute as yellow if severity<3
>         <TR>
>           <xsl:for-each select="severity">
>             <xsl:if expr="(this.nodeTypedValue &lt; 3)">
>               <xsl:attribute name="class">yellow</xsl:attribute>
>             </xsl:if>
>           </xsl:for-each>
> But how to do if I want to severity<3, and finished="N"
> ====severity and finished is brother element=====
>
> Thanks for your help!
> Sprinna:)

Back to: Top of Message | Previous Page | Main XML-L Page

Permalink



LISTSERV.HEANET.IE

CataList Email List Search Powered by the LISTSERV Email List Manager