This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Is this a legal XPath Expression?
- To: <xsl-list at lists dot mulberrytech dot com>
- Subject: RE: [xsl] Is this a legal XPath Expression?
- From: "Michael Kay" <mhkay at iclway dot co dot uk>
- Date: Thu, 15 Mar 2001 12:39:07 -0000
- Reply-To: xsl-list at lists dot mulberrytech dot com
> 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