This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Conditional IE5 xsl
- To: xsl-list at mulberrytech dot com
- Subject: RE: Conditional IE5 xsl
- From: James Brown <jbrown_gtfc at yahoo dot com>
- Date: Mon, 10 Apr 2000 03:56:43 -0700 (PDT)
- Reply-To: xsl-list at mulberrytech dot com
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@cscape.com> 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