|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: How to get preceding-siblings that appear before a
On 9/29/05, Michael Kay <mike@xxxxxxxxxxxx> wrote: > > But what i'm getting, because of the > > following-sibling::xref, all of the xref and not the > > xref that that appear before the next text() node. Is > > there a way to achieve this? > > As far as I understand, you want something like: following-sibling::xref[generate-id(preceding-sibling::text()[1]=generate-id( $tx)] where $tx is a variable containing the current text() node. This should give all the following siblings in the document, filtered by the predicate that the first preceding sibling text node has to be the current text node. I hope this helps Regards, Ragulf Pickaxe :-)
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Cast Your Vote
We need your help – Vote for DataDirect XML Products!
Winners and finalists announced at SOA World Conference in November. 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
|







