Subject: Re: [xsl] Displaying blank space From: Jeni Tennison <jeni@xxxxxxxxxxxxxxxx> Date: Fri, 17 Jan 2003 14:28:46 +0000 |
Hi Jitt, > 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? Substitute the spaces for non-breaking spaces as follows: <xsl:value-of select="translate(text, ' ', ' ')" /> Non-breaking spaces aren't collapsed by HTML browsers, whereas normal spaces are. Cheers, Jeni --- Jeni Tennison http://www.jenitennison.com/ XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Displaying blank space, Jitt_Joynoosaeng | Thread | Re: [xsl] Displaying blank space, Francis Norton |
RE: Re.[xsl] calling extension java, Henk J Meulekamp | Date | RE: Re: [xsl] Displaying blank spac, Jitt_Joynoosaeng |
Month |