RE: RE: [xsl] How to implement an array

Subject: RE: RE: [xsl] How to implement an array
From: "Michael Semcheski" <mhs-list@xxxxxxxxx>
Date: Wed, 12 Feb 2003 11:59:57 -0500
You used the following in your solution:

>       <xsl:for-each
> select="table/col[count(.|key('union', @month)[1]) =
> 1]">

Can you elaborate on how this works. I gather it
selects a unique occurence of the month attribute from
all the elements. How do you do this if month was
element instead of attribute? Just by omitting the

Mhs>I believe you have the above correct.  Its sort of like a "SELECT

Also, how does 'generate-id' work? Is it a built-in
xsl function?

Mhs> Check out this link:
I really recommend checking out if you are just starting out.  It
really brought me up to speed very quickly.

 XSL-List info and archive:

Current Thread