[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
Fei Zheng wrote:
J.Pietschmann
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Re: [xsl] grouping by unique...
Subject: Re: [xsl] grouping by unique... From: "J.Pietschmann" <j3322ptm@xxxxxxxx> Date: Tue, 17 Jun 2003 23:06:52 +0200 |
Fei Zheng wrote:
I'd like to have an unique solution list. Anyone can tell what's
> wrong with the following code which gives all solutions instead of > the unique solutions?
select="item[not(metadata/solution = preceding-sibling::metadata/solution)]/metadata/solution" />
You are using the preceding-sibling on the wrong element. Try select="item/metadata/solution[not(. = preceding-sibling::solution)]"/>
J.Pietschmann
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] grouping by unique..., Fei Zheng | Thread | RE: [xsl] grouping by unique..., Lars Huttar |
RE: [xsl] Special Characters in IE , Passin, Tom | Date | [xsl] empty string, Yan, Charlene |
Month |