<xsl:key name="dates" match="productivity-line" use="date"/>

<xsl:template match="productivity-lines">
<xsl:apply-templates select="productivity-line[generate-id() = generate-id(key('dates', date))]"/>

<xsl:template match="productivity-line">

Please use a more appropriate forum like Mulberry's xslt list for pure XSLT questions: http://www.mulberrytech.com/xsl/xsl-list/.


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.



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.


for the help

Tim Bachta

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to