This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: question about xsl:if


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]