Is there a way to put an empty string in xsl. I use <xsl:value-of select="' '"/>. Somehow it is automatically filled with a value of another cell. Any ideas why? Thanks!
<gmr:Cell Col="3" Row="31" ValueType="60">
<xsl:attribute name="Row">
<xsl:value-of select="30 + $rownumber"/>
</xsl:attribute>
<xsl:value-of select="' '"/>
</gmr:Cell>
-----Original Message-----
From: J.Pietschmann [mailto:j3322ptm@xxxxxxxx]
Sent: Tuesday, June 17, 2003 5:07 PM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: grouping by unique...
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
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
- empty string
- Yan, Charlene - Tue, 17 Jun 2003 17:31:38 -0400 (EDT) <=
- <Possible follow-ups>
- Martinez, Brian - Tue, 17 Jun 2003 18:30:09 -0400 (EDT)
|
|