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

Subject: RE: [xsl] inserting space in xsl:value-of
From: "Sherry Cheng" <scheng@xxxxxxxx>
Date: Mon, 9 Apr 2001 11:56:47 -0700
This would work:

<xsl:template match ="name/text">
	<xsl:apply-templates />

-----Original Message-----
From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
[mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of Java XML
Sent: Monday, April 09, 2001 11:17 AM
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