Re: perfomance question about selecting from child-nod
> it is slower when i am on a specific branch/node, if i go back to t It probably is, but there is probaby a time cost in passing parameters as well. Which one wins will be highly processor specific. Compared to using keys instead of //* which can make orders of magnitude difference, this is likely to be a very small effect as you are only going .. to access th eparent and I would guess most systems optimise .. fairly heavily. If you were searching up arbitrary amounts, ancestor::*[this and that and the other] then not doing that search and passing down a parameter will probably start to win. (Unless your xsl system spots that the same search is being done repeatedly and optimises it away...). David ________________________________________________________________________ This e-mail has been scanned for all viruses by Star Internet. The service is powered by MessageLabs. For more information on a proactive anti-virus service working around the clock, around the globe, visit: http://www.star.net.uk ________________________________________________________________________ XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
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