xsl-list
[Top] [All Lists]

Re: Re: Counting nodes efficiently

2004-02-19 15:22:11
Thanks again.

I hope that the right term will prevail through being more frequently used.


Cheers,

Dimitre Novatchev [XML MVP],
FXSL developer, XML Insider,

http://fxsl.sourceforge.net/ -- the home of FXSL
Resume: http://fxsl.sf.net/DNovatchev/Resume/Res.html


"Wendell Piez" <wapiez(_at_)mulberrytech(_dot_)com> wrote in message
news:6(_dot_)0(_dot_)0(_dot_)22(_dot_)0(_dot_)20040219153834(_dot_)03539f98(_at_)earthlink(_dot_)net(_dot_)(_dot_)(_dot_)
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(_at_)mulberrytech(_dot_)com
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






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



<Prev in Thread] Current Thread [Next in Thread>