[xsl] Displaying blank space

Subject: [xsl] Displaying blank space
From: Jitt_Joynoosaeng@xxxxxxxxxxx
Date: Fri, 17 Jan 2003 08:04:58 -0600
Hello,

I am reading in an xml tag that contains a value along with blank 
spaces.  When this tag is displayed on the browser the spaces are not 
showing up.  How can I get the spaces to display?

The xml I am reading is this:
<test>
	<notes>
		<text>Hello     There     </text>
	</notes>
</test>

My xslt is this:
<xsl:for-each select="test/notes">
    <p> 
      <xsl:value-of select="text"/>
    </p>
 </xsl:for-each>

What displays on the browser is this:
	"Hello There"

Instead of this, which is the result I am looking for:
	"Hello     There     "

Any help would be much appreciated.

Thank you!

Jitt


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


Current Thread