[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Counting level of nodes beneath current (in XPATH)

Subject: Re: Counting level of nodes beneath current (in XPATH)
From: "Ragulf Pickaxe" <jawxml@xxxxxxxxxxx>
Date: Tue, 11 Jan 2005 13:33:59 +0000
counting xml nodes
I think it is clear now. It took some time for me (and a clear written solution).
I think now that Andrew's solution is doing the same - I will have to look at it again.


The solution is not near what I hoped as it seems to be very slow.
Perhaps I can save the xml making an id-transfer on the whole xml giving each Y-node an attribute with the maximum number lv of descendants (using one of the two solutions), then use this attribute in future transformations. The usefullness of this solution depends on how often the input xml will change...


Thanks to both of you, and sorry for being so slow.
Ragulf Pickaxe :-)

_________________________________________________________________
Don't just search. Find. Check out the new MSN Search! http://search.msn.com/


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.