xsl-list
[Top] [All Lists]

RE: [xsl] Finding nodes between other nodes

2010-04-23 09:51:04

<xsl:variable name="next" select="following-sibling::text()[1]"/>
... select="following-sibling::processing-instruction()[. &lt;&lt; 
$next]"/>

Sadly, no. I wouldn't be in this position were they siblings.


In that case just delete "-sibling" both times.

Regards,

Michael Kay
http://www.saxonica.com/
http://twitter.com/michaelhkay 


--~------------------------------------------------------------------
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>
--~--