RE: [xsl] inserting space in xsl:value-of

Subject: RE: [xsl] inserting space in xsl:value-of
From: "John Wang" <jwang@xxxxxxxxxxx>
Date: Mon, 9 Apr 2001 13:50:17 -0500
yes, I guess you can use

<xsl:text>  </xsl:text>

whenever you need space. Try this, see if it works.


-----Original Message-----
From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
[mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of Java XML
Sent: Monday, April 09, 2001 1:17 PM
To: XSL-List@xxxxxxxxxxxxxxxxxxxxxx
Subject: [xsl] inserting space in xsl:value-of

Hello Folks,
        I have a small problem in here
i have an xml which goes like this

<?xml version="1.0" ?>

now i want to display the text in a text field using this

<xsl:for-each select="TEXT">
  <xsl:value-of select="normalize-space(.)" />
but i get a string which looks like this without spaces

is there a way to insert spaces between 2 text tags so that i get a display
like this
"welcome to"

i tried this way

<xsl:for-each select="TEXT">
  <xsl:value-of select="." />
but got the value this way

where as i want it in a single line.

Thanx in advance
Get your FREE download of MSN Explorer at

 XSL-List info and archive:

 XSL-List info and archive:

Current Thread