hi,
i wrote all of my code in another topic 'understanding key usage'.
i reimplemented my problematic solution using a template:
<xsl:template name="kumdoviz">
<xsl:param name="mydovizler" />
<!--<xsl:for-each select="$mydovizler[key='USD']">-->
<xsl:for-each select="$mydovizler[generate-id(.) =
generate-id(key('dkey',key)[1])]">
<!--<xsl:for-each select="value[generate-id()=
generate-id(key('categorise',usthesapkodu)[1])]">-->
<fo:table-row>
<fo:table-cell>
<fo:block text-align="right" font-size="8pt" >
[DDD] <xsl:value-of select="value/doviz-adi"/>
</fo:block>
</fo:table-cell>
</fo:table-row>
</xsl:for-each>
</xsl:template>
i want the template to group all of dovizler nodes under $mydovizler according
to their 'key' values. but it gives a strange result. do you need that strange
results?
regards
-----Original Message-----
From: Geert Josten [mailto:Geert(_dot_)Josten(_at_)daidalos(_dot_)nl]
Sent: Friday, November 12, 2004 9:35 AM
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: Re: [xsl] Grouping by key
Osman Çınar Eren wrote:
Hi,
i try to have a PDF output using FOP. my problem is with grouping. I could
not have an indepth understanding of generate-id and key concepts. so i
couldnot transfer the solution given by you to my case.
so your help on grouping is greatly appreciated.
regards.
Write a small testcase (xml + xsl + desired output in xml) and paste it in a
message that describes
which part doesn't seem to work as you expect. We can't help without details...
Grtz,
Geert
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--