[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] question about xsl:if


Subject: Re: [xsl] question about xsl:if
From: David Carlisle <davidc@xxxxxxxxx>
Date: Thu, 29 Aug 2002 10:47:15 +0100


 <xsl:if test=".[.!text()='TONY']">

you can't have a [ following [ in XPath 1.

The sequence .!text() doesn't mean anything in Xpath (I can't guess here
what you intended)

perhaps you want

<xsl:if test=". = 'TONY'">

David

_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.

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



Current Thread
Keywords