<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