Subject: Re: [xsl] Grouping within sub elements From: "Joris Gillis" <roac@xxxxxxxxxx> Date: Sat, 29 Jan 2005 10:49:58 +0100 |
Hi,If I was to group all the subitems, I'd use something like <xsl:key name="subs" match="BODY/ITEM" use="SUBITEM" />.
Can I apply the same sort of logic within an item group, to get some output
something like :
Item AA Subitems 1, 2, 3 Item BB Subitems 1,4 Item CC Subitems 2, 3
<xsl:template match="SUBITEM"> <xsl:value-of select="."/> <xsl:if test="position()!=last()">, </xsl:if> </xsl:template>
regards, -- Joris Gillis (http://www.ticalc.org/cgi-bin/acct-view.cgi?userid=38041) "Et ipsa scientia potestas est" - Francis Bacon , Meditationes sacrae
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Grouping within sub elements, Steve W | Thread | Re: [xsl] Grouping within sub eleme, G. Ken Holman |
[xsl] Grouping within sub elements, Steve W | Date | Re: [xsl] Grouping within sub eleme, G. Ken Holman |
Month |