xsl-list
[Top] [All Lists]

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

2004-03-04 06:24:53
  [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



<Prev in Thread] Current Thread [Next in Thread>