xsl-list
[Top] [All Lists]

Re: xsl transform issue

2005-02-23 13:14:44
Thanks for your input, sorry about the vague name,
anyway why would the value of select . output this to 
me? Why does it give me this piece?
NullSessionPipestrueREG_MULTI_SZ 

Thanks again


        NullSessionPipestrueREG_MULTI_SZ COMNAP COMNODE
SQL\QUERY SPOOLSS netlogon lsarpc samr browser


--- David Carlisle <davidc(_at_)nag(_dot_)co(_dot_)uk> wrote:


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>
--~--





                
__________________________________ 
Do you Yahoo!? 
Yahoo! Mail - now with 250MB free storage. Learn more.
http://info.mail.yahoo.com/mail_250

--~------------------------------------------------------------------
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>