This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: question about xsl:if
- From: Jarno dot Elovirta at nokia dot com
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Thu, 29 Aug 2002 10:46:37 +0300
- Subject: RE: [xsl] question about xsl:if
- Reply-to: xsl-list at lists dot mulberrytech dot com
Hi,
[snip]
> <xsl:template match="/">
> <html>
> <body>
> <p align="center">
> <b><font size="5">Welcome to Book Store</font></b>
> </p>
> <xsl:apply-templates select="/html" />
> </body>
> </html>
> </xsl:template>
>
> <xsl:template match="/html">
> <xsl:apply-templates select="body/table/tr/td" />
> </xsl:template>
>
> <xsl:template match="body/table/tr/td">
You can rewrite this to "td" - see the list archive for googleplex explanations why.
> <xsl:if test=".[.!text()='TONY']">
Should that wild-guess-expression mean
<xsl:if test="not(normalize-space(.) = 'Tony')"
> Can u plz tell me y am i getting this msg ???
sntx rrr.
Jarno
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list