Subject: RE: [xsl] Selecting similar XML nodes by a sort criteria From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx> Date: Fri, 05 Oct 2007 16:06:37 -0400 |
Another question.
In your code, you have this line:
<xsl:template match="pile"> <xsl:for-each select="item[generate-id()=generate-id(key('item-by-number',@number)[1]) ]">
What is the significance of [1] in the generate-id() function call?
Cheers, Wendell
====================================================================== 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] Selecting similar XML nod, Scott Trenda | Thread | RE: [xsl] Selecting similar XML nod, Wendell Piez |
RE: [xsl] Selecting similar XML nod, Wendell Piez | Date | Re: [xsl] Help cleaning up this 1.0, David Carlisle |
Month |