[name()='foo']
although beware using the name() function in the context of namespaces
as that introduces a dependency on getting the right namespace prefix
(and a parser is allowed to report arbitrary prefixes)
[self::foo]
is safer.
--
http://www.dcarlisle.demon.co.uk/matthew
________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list