RE: Conditional IE5 xsl

Subject: RE: Conditional IE5 xsl
From: James Brown <jbrown_gtfc@xxxxxxxxx>
Date: Mon, 10 Apr 2000 03:56:43 -0700 (PDT)
This doesn't seem to work, this is what I have:

<xsl:template match="/">
	<HTML>
	<BODY>
	<xsl:choose>
		<xsl:when select="/Form/Name[. = '']">
	        </xsl:when>
	        <xsl:otherwise>
                        <B>Hello<B>
                </xsl:otherwise>
	</xsl:choose>
        ...
        


--- Ben Robb <Ben@xxxxxxxxxx> wrote:
> > I need to execute different html code depending on
> the
> > value of a node eg. ("/Form/Name").
> 
> <xsl:choose>
> 	<xsl:when select="/Form/Name[. = 'Brown']">
> 		<!-- do something -->
> 	</xsl:when>
> 	<xsl:otherwise>
> 		<!-- do something else -->
> 	</xsl:otherwise>
> </xsl:choose>
> 
> 
>  XSL-List info and archive: 
> http://www.mulberrytech.com/xsl/xsl-list
> 

=====
Visit my Town site, sign my guestbook, and download my GTFC software:
http://www.geocities.com/Colosseum/Sideline/6051/




__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread