[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

empty string

Subject: empty string
From: "Yan, Charlene" <Charlene.Yan@xxxxxxxxxxxxxxxxxxx>
Date: Tue, 17 Jun 2003 17:31:27 -0400
xsl 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


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)

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.