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

Creating a white-space separated list in attribute val

Subject: Creating a white-space separated list in attribute values
From: Bjorn Sandvik <Bjorn.Sandvik@xxxxxxxxxx>
Date: Wed, 15 Aug 2001 14:56:41 +0200
bjorn sandvik

I'm not able to make a white-space separated list in an attribute value in XSL.


<TD class="tabdat">
<xsl:attribute name="headers"><xsl:value-of select="$KORTNAVN"/>#<xsl:value-of select="$VALGAAR"/>#<xsl:value-of select="$VALGAAR"/>_stemmer</xsl:attribute>
<xsl:value-of select="@STEMMER"/>
</TD>


The result from the parser (MSXML) should be like this:
<TD class="tabdat" headers="A 1999 1999_stemmer)">64</TD>

But I'm not able to preserve spaces for attributes values, so I get this result:
<TD class="tabdat" classes="A19991999_stemmer)">64</TD>


Bjorn, Norway


XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list



Current Thread

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.