RE: [xsl] Is this a legal XPath Expression?

Subject: RE: [xsl] Is this a legal XPath Expression?
From: "Michael Kay" <mhkay@xxxxxxxxxxxx>
Date: Thu, 15 Mar 2001 12:39:07 -0000
> Basically what I am doing is trying to find unique occurrences of the
> contents of cells in column 15 of an HTML table
> Looks like a job for <saxon:group>, but I couldn't figure out
> how to do it,

If you're happy to use Saxon extensions you may find saxon:distinct() does
the job. Something like

<xsl:apply-templates select="distinct(//TR/TD[15])/.."/>

to process those TRs whose TD[15]'s are different from a previous one.

Mike Kay


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread