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

RE: Count() nodes ??

Subject: RE: Count() nodes ??
From: "Passin, Tom" <tpassin@xxxxxxxxxxxx>
Date: Wed, 17 Sep 2003 11:19:35 -0400
count nested xsl
[ Dipesh Khakhkhar]

> I didn't got your point fo this "Incidentally, using //Root 
> rather than /Root 
> to access the document element is appallingly inefficient."
> 

"//Root" forces the processor to look through the entire document
looking for all "Root" elements that it may be able to find, no matter
how deeply nested they may be. "/Root" forces the processor to look for
all "Root" elements that are children of the document node - it knows
that there can only be one, and it already knows how to get that one.

"Appallingly inefficient", yes?

Cheers,

Tom P

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


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.