|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] empty string
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








