xsl-list
[Top] [All Lists]

Displaying blank space

2003-01-17 07:04:58
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



<Prev in Thread] Current Thread [Next in Thread>