Altova Mailing List Archives>Archive Index >xsl-list Archive Home >Recent entries >Thread Prev - [xsl] Xpath and Ranges [Thread Next] Re: [xsl] Xpath and RangesTo: Date: 8/2/2006 4:53:00 PM [reposting my answer on this list, from xpath-comments] 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. David | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
