ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> xsl-list
xsl-list
Re: [xsl] Re: Counting nodes efficiently
by Wendell Piez other posts by this author
Feb 19 2004 8:53PM messages near this date
[xsl] Re: Counting nodes efficiently | RE: [xsl] Counting nodes efficiently
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@[...].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
Thread:
Dimitre Novatchev
Dimitre Novatchev
Dimitre Novatchev
Wendell Piez
Wendell Piez
Wendell Piez

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved