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

xsl:text

Subject: xsl:text
From: "Thomas Holz" <thomas.holz@xxxxxxxxxx>
Date: Fri, 25 Jan 2002 15:04:07 +0100
xsl text x20 xsl text
Hello people,

after seraching the archive and Mike Kay's book for over an hour, I feel
still at a loss. I try to hard-code one single whitespace, but it seems
imposiible. I tried <xsl:text> </xsl:text> as well as &#x20 or &#32; and
even concat (as seen below) but nothing works, not even in conjunction
I'm using MSXML Parser (v3.0 or 4.0) with XMLSpy as editor. The only time I
want to preserve those whitespaces is in all of my <xsl:text> elements, so I
tried <xsl:preserve-space>, but I thin kI'm usin it the wrong way.

I'll include an XSL snippet for you. Hope anybody can help

Thomas

-snip-
<xsl:template match="adlst">
    <xsl:text> -AD</xsl:text>
    <xsl:for-each select="adid">
        <xsl:text>&#32;</xsl:text>
        <xsl:value-of select="concat(' ', .)"/>
    </xsl:for-each>
</xsl:template>
-snip-



 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.