xsl-list
[Top] [All Lists]

RE: question about xsl:if

2002-08-29 00:46:37
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



<Prev in Thread] Current Thread [Next in Thread>