This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: 'unique' element query
- To: "'xsl-list at mulberrytech dot com'" <xsl-list at mulberrytech dot com>
- Subject: RE: 'unique' element query
- From: Kay Michael <Michael dot Kay at icl dot com>
- Date: Mon, 8 May 2000 09:35:49 +0100
- Reply-To: xsl-list at mulberrytech dot com
Use child[not(.=preceding-sibling::child)]
Mike Kay
> Say I have some XML that looks like this:
>
> <rootelement>
> <child>1</child>
> <child>2</child>
> <child>2</child>
> <child>3</child>
> </rootelement>
>
> And I want to do a query that returns only the elements
> that have a unique value
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list