|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Conditional IE5 xsl
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








