RE: <xsl:if...>

Subject: RE: <xsl:if...>
From: Ben Robb <Ben@xxxxxxxxxx>
Date: Thu, 3 Jun 1999 17:24:12 +0100
Um - try in line 2
 
<xsl:if test="AccountID[. = '3333']">
 
and it should work
 
Ben
cScape

-----Original Message-----
From: Wen Hu [mailto:huwen@xxxxxx]
Sent: 03 June 1999 16:47
To: XSL-List@xxxxxxxxxxxxxxxx
Subject: <xsl:if...>


hi,
 
does anyone know what is wrong with this?
 
<xsl:for-each select="Table/Record">
<xsl:if test=".[AccountID='3333']"><TR>
<TD><xsl:apply-templates select="AccountID"/></TD>
<TD><xsl:apply-templates select="FName"/></TD>
<TD><xsl:apply-templates select="LName"/></TD>
<TD><xsl:apply-templates select="Credit"/></TD>
</TR></xsl:if></xsl:for-each>
 
the error returned says:
 
    13: unexpected token
    java.exe: No error
 
thanks!
 
wen.


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread
  • <xsl:if...>
    • Wen Hu - Thu, 3 Jun 1999 11:46:37 -0400
      • <Possible follow-ups>
      • Ben Robb - Thu, 3 Jun 1999 17:24:12 +0100 <=
        • Wen Hu - Thu, 3 Jun 1999 13:32:45 -0400
      • Kay Michael - Fri, 4 Jun 1999 12:25:29 +0100