[Home] [By Thread] [By Date] [Recent Entries]
At 2007-03-04 12:41 -0800, Kevin Grover wrote:
Excellent! That's exactly what I was trying to achieve. Thanks. Sorry 'bout that ... little time to document when doing volunteer work. There is a discussion of the XSL key facility in section 3.4 of the free developer resources section of our web site. Thankfully, the concepts are easy once you hear how they work. On 3/3/07, G. Ken Holman <gkholman@xxxxxxxxxxxxxxxxxxxx> wrote:t:\>type grover.xsl Declare a lookup table with all authors in the left column and the first letter of their file-as string in the right column:
Looking at all authors, keep only those in the current node list that are the first in document order ... checking the order by checking the unique identifier for the current node against the unique identifier for the first one found using the key() lookup feature: <xsl:for-each select="*/author[generate-id(.)= Look up all authors that have the same first letter as the author being processed:
I hope this helps ... good luck in your work with XSL. . . . . . . . . . . . Ken -- World-wide corporate, govt. & user group XML, XSL and UBL training RSS feeds: publicly-available developer resources and training G. Ken Holman mailto:gkholman@xxxxxxxxxxxxxxxxxxxx Crane Softwrights Ltd. http://www.CraneSoftwrights.com/s/ Box 266, Kars, Ontario CANADA K0A-2E0 +1(613)489-0999 (F:-0995) Male Cancer Awareness Aug'05 http://www.CraneSoftwrights.com/s/bc Legal business disclaimers: http://www.CraneSoftwrights.com/legal
|

Cart



