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(_at_)yahoo(_dot_)de]
Sent: Tuesday, June 17, 2003 5:07 PM
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: Re: [xsl] 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