|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Xpath and Ranges
[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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|






