| 
 
Subject: RE: [xsl] Grouping and Sorting on value inside group From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx> Date: Tue, 11 Jun 2002 18:57:43 -0400  | 
>The expression > > (//dataset/*/*[generate-id() = > generate-id(key('dataids', concat(local-name(..),@dataId)))]) > > would seem on the face of it to find the same node as > > key('dataids', concat(local-name(..),@dataId))[1] > > since the node inside any dataset that has the same generated ID as the > first node in the set returned by the key expression, is that node (or > nothing).
Yah, but since it's in a for-each I'm not just looking at the first node?
You might not be missing anything, but the code does what I expect, so I may not be explaining everything properly...
Cheers, Wendell
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
====================================================================== 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 ======================================================================
| Current Thread | 
|---|
  | 
| <- Previous | Index | Next -> | 
|---|---|---|
| RE: [xsl] Grouping and Sorting on v, Hunsberger, Peter | Thread | RE: [xsl] Grouping and Sorting on v, TSchutzerWeissmann | 
| RE: [xsl] Grouping and Sorting on v, Hunsberger, Peter | Date | Re: [xsl] XSL special chars output , Peter Davis | 
| Month |