xsl-list
[Top] [All Lists]

Re: [xsl] Finding nodes between other nodes

2010-04-23 08:52:42
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/

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: 
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--