Re: [xsl] Finding nodes between other nodes

Subject: Re: [xsl] Finding nodes between other nodes
From: Nic Gibson <nicg@xxxxxxxxxx>
Date: Fri, 23 Apr 2010 13:52:02 +0000
On Fri, Apr 23, 2010 at 03:46:10PM +0200, Martin Honnen wrote:
> Nic Gibson wrote:
> 
> >I'm trying to find all processing instructions that occur between the current
> >node (which will always be a text node in this case) and the next text node
> >(in document order).
> 
>   following::processing-instruction()[. >> current() and . <<
> current()/following::text()[1]]
> 
> Within an XSLT stylesheet you will need to escape the '<<' operator
> as '&lt;&lt;'.

Of course. Thanks

nic


> -- 
> 
> 	Martin Honnen
> 	http://msmvps.com/blogs/martin_honnen/

Current Thread