<xsl:template match="productivity-lines">
<xsl:apply-templates select="productivity-line[generate-id() = generate-id(key('dates', date))]"/>
</xsl:template>
<xsl:template match="productivity-line"> <fo:table-row> ... </fo:table-row> </xsl:template>
Please use a more appropriate forum like Mulberry's xslt list for pure XSLT questions: http://www.mulberrytech.com/xsl/xsl-list/.
Joerg
Tim Bachta wrote:
Can you give me an example of what you are referring to?
Tim Bachta
-----Original Message-----
From: Joerg Heinicke [mailto:[EMAIL PROTECTED]
Group your data by <date/>, anything else won't work.
http://www.jenitennison.com/xslt/grouping/muenchian.xml http://www.dpawson.co.uk/xsl/sect2/N4486.html
Joerg
Tim Bachta wrote:
I am having trouble with an xsl:if condition. I am testing to see if the date value is the same as the previous date value. If it is I want to skip over the code otherwise I want it to execute the code, simple, here is my code: (the xsl:variable is declared under the stylesheet element as <xsl:variable name="oldGroup"/>
Xml coming in is -
XML and XSLT stripped ...
and my output is showing up with each productivity-line showing.
Thanks
for the help
Tim Bachta
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]