This is the wrong list (it is for formal comments on the xpath specification, ratherthan on xpath expample problems), you want xsl-list@lists.mulberrytech.com but in xpath2 /chapter/(title[1]/(.,following-sibling::node()) except title[2]/(.,following-sibling::node()) is probably the most literal translation into xpath, but others are possible eg for $end in /chapter/title[2] return /chapter/(title[1]/(.,following-sibling::node()[. << $end],$end) In XPath1 it's probably hard to do but in xpath1+xslt1 (so you can define variables) then again it's possible. DavidReceived on Wednesday, 2 August 2006 16:13:58 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 3 October 2007 16:05:55 GMT