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

RE: simple question regarding xsl:key and value calcul

Subject: RE: simple question regarding xsl:key and value calculation
From: "Michael Kay" <mhk@xxxxxxxxx>
Date: Mon, 25 Aug 2003 18:31:31 +0100
simple calcul en word
> > 
> > So the value of key('k', 'Jane') is the set containing book 
> id=1 and 
> > book id=3.
> > 
> > Is that clearer?
> 
> i had assumed the above.  what seemed confusing to me was the 
> reference to "the" key, which threw me until i realized that, 
> when you write that "each element contributes one value to 
> the key", what that meant was that each element contributed 
> another (N,V) pair to the key.
> 
> it was just the reference to "the key" and "that node" that 
> confused me into thinking that, somehow, a node-set generated 
> one and only one value for the expression.
> 
> just to be pedantic, what do you mean when you refer to "the key" in 
> that first bullet point on p. 243?

I'm using the word fairly interchangeably (as people do) to mean "the
definition of the index", "the index", and "an entry in the index".

I'm trying to be more pedantic about distinguishing terms in the actual
XSLT spec ("sort key" suffers even worse problems), but it's a difficult
thing to get right - make it too rigorous, and you can boggle the
reader's mind with subtle distinctions between closely related concepts.

Michael Kay


 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.