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

Re: Re: Counting nodes efficiently

Subject: Re: Re: Counting nodes efficiently
From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx>
Date: Thu, 19 Feb 2004 15:53:53 -0500
xslt counting nodes
At 03:01 PM 2/19/2004, you wrote:
Using only "forward" is insufficient -- a tree is 2-dimensional (this is why
there are many possible traversal orders) and we use two independent axes --
"ancestor" and "preceding".

Of course. :-> But what makes this traversal interesting and different is that instead of relying on XSLT's built-in traversal of child nodes collected as a node list, it explicitly steps forward one node at a time. In the default traversal, the forward part is implicit (and as you know, XSLT requires only that the result come out *as if* the nodes are traversed forward in document order).


Since natural language rarely finds it practical to describe and specify all distinguishing characteristics of a given case, we usually encapsulate them by using a code or label that only hints at them -- and rely on context (as always) to disambiguate the rest. If the term sticks, it comes through use to denote all the particulars (because repeated use within a community of practice allows it to "carry its context with it"). Of course you know all this, which is why you asked for a native speaker's advice ... because what constitutes a good hint in a given case, before a term has established itself, is hard.

Anyway, glad to help. Words are fun.

Cheers,
Wendell


====================================================================== Wendell Piez mailto:wapiez@xxxxxxxxxxxxxxxx Mulberry Technologies, Inc. http://www.mulberrytech.com 17 West Jefferson Street Direct Phone: 301/315-9635 Suite 207 Phone: 301/315-9631 Rockville, MD 20850 Fax: 301/315-8285 ---------------------------------------------------------------------- Mulberry Technologies: A Consultancy Specializing in SGML and XML ======================================================================


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.