[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

[xsl] simple question regarding xsl:key and value calculation


Subject: [xsl] simple question regarding xsl:key and value calculation
From: "Robert P. J. Day" <rpjday@xxxxxxxxxxxxxx>
Date: Mon, 25 Aug 2003 06:47:10 -0400 (EDT)

  when calculating the value of a key, kay (p. 243) states:

  "For each node that matches the pattern, the expression is evaluated
  with that node as the current node ... and then:

   * If the result is a node-set, each node in the result contributes
     one value for the key.  The value of the key is the string-value
     for that node."

i'm just having trouble parsing this last sentence.  given a node-set
as a result, how exactly do the nodes in that node-set determine the
eventual key?  or is it keys?  since that sentence seems a bit
ambiguous.

rday


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



Current Thread