Re: [xsl] Can I Detect whether a node is *immediately* before the context node?

Subject: Re: [xsl] Can I Detect whether a node is *immediately* before the context node?
From: David Carlisle <davidc@xxxxxxxxx>
Date: Thu, 4 Mar 2004 13:24:53 GMT
  [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


Current Thread