xsl-list
[Top] [All Lists]

Re: xsl transform issue

2005-02-23 10:56:07

You didn't make any of the changes I indicated in my first reply.


You just need

<xsl:for-each select="win-registry-data/data">
<td>
<xsl:attribute name="bgcolor">
<xsl:choose>
<xsl:when test=".='netlogon'">green</xsl:when>
<xsl:otherwise>red</xsl:otherwise>
</xsl:choose>
</xsl:attribute>
<xsl:value-of select="."/>
</td>
</xsl:for-each>


Also, next time please use a subject line that describes your problem
(for the sake of the list archives) All messages on this list are "xsl
transform issue" 

David

________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



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