xsl-list
[Top] [All Lists]

Re: Shading a Row for a particular Node value

2004-09-27 08:43:00
J_Eugene_Bernard/VML/IT/SGCORP/SANMAR(_at_)SANMARGROUP(_dot_)COM 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



<Prev in Thread] Current Thread [Next in Thread>