This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: question about xsl:if
- From: David Carlisle <davidc at nag dot co dot uk>
- To: xsl-list at lists dot mulberrytech dot com
- Date: Thu, 29 Aug 2002 10:47:15 +0100
- Subject: Re: [xsl] question about xsl:if
- References: <0H1L00I8CGOJ54@typhoon.idm.net.lb>
- Reply-to: xsl-list at lists dot mulberrytech dot com
<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