Re: [xsl] Shading a Row for a particular Node value

Subject: Re: [xsl] Shading a Row for a particular Node value
From: Anton Triest <anton@xxxxxxxx>
Date: Mon, 27 Sep 2004 17:43:00 +0200
J_Eugene_Bernard/VML/IT/SGCORP/SANMAR@xxxxxxxxxxxxxxx wrote:

Hi all,

Please find below the XSL code to form a HTML output from a source xml file, where in

if i want to shade (ie to differentiate) the entire row,
where node value of bqty is 0


<xsl:for-each select="linstat/items">
 <tr>
   <xsl:if test="bqty = 0">
     <xsl:attribute name="bgcolor">#ff0</xsl:attribute>
   </xsl:if>
   ...
 </tr>
</xsl:for-each>

Cheers,
Anton

Current Thread