[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
the output does not shows the spaces as they are. It just shows one space gap between them. I want the string to appear as it is without any formatting(trimming).
whats the way to overcome this problem?
_________________________________________________________________
Join the world?s largest e-mail service with MSN Hotmail. http://www.hotmail.com
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
[xsl] RE: need to show spaces
Subject: [xsl] RE: need to show spaces From: "Anurag Batra" <anurag_batra@xxxxxxxxxxx> Date: Thu, 14 Mar 2002 20:05:34 +0000 |
Hi everyone, I am facing a problem with XSL.
I have in my XML <a> <b val="11 22 33 44 55"></b> <b val="aa bb cc dd ee"></b> <b val="12 12 12 12 12"></b> <b val="44 55 66 77 88"></b> </a>
in my XSL i have <table> <xsl:for-each select="a/b"> <tr> <td><xsl:value-of select="@val"/></td> </tr> </xsl:for-each> </table>
the output does not shows the spaces as they are. It just shows one space gap between them. I want the string to appear as it is without any formatting(trimming).
I have put <xsl:preserve-space elements="a"/> in the XSL but doesnt make a diff.
whats the way to overcome this problem?
all help is appreciated thanks in advance
regards, Anurag
_________________________________________________________________
Join the world?s largest e-mail service with MSN Hotmail. http://www.hotmail.com
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] adding 2 formatted number, Jeff Beadle | Thread | Re: [xsl] RE: need to show spaces, Joerg Heinicke |
[xsl] adding 2 formatted numbers?, L Rutker | Date | RE: [xsl] general purpose filter st, Jonathan C. Dietrich |
Month |