[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
RE: Selecting unique elements
Subject: RE: Selecting unique elements From: Kay Michael <Michael.Kay@xxxxxxx> Date: Fri, 10 Nov 2000 10:50:06 -0000 |
> //row[preceding-sibling::row/attribute::UserName != > attribute::UserName]/attribute::UserName > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list As a general rule, don't use X!=Y to compare node-sets, use not(X=Y). x!=y means "if there exists an x in X and a y in Y such that x!=y", in other words you are testing whether the username is different from every previous username, not whether it is different from some previous username. Mike Kay XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: Selecting unique elements, Steve Muench | Thread | Which implementation XSLT/Parser ?, Albert Tsun |
RE: SAXON ProcessorException - plea, Kay Michael | Date | Compare data from different XML-fil, fredric larsson |
Month |