Subject: RE: [xsl] inserting space in xsl:value-of From: "Java XML" <jaxlive@xxxxxxxxxxx> Date: Mon, 09 Apr 2001 15:04:53 -0400 |
Thanx john, I worked thank u very much ....
From: "John Wang" <jwang@xxxxxxxxxxx> Reply-To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx> Subject: RE: [xsl] inserting space in xsl:value-of Date: Mon, 9 Apr 2001 13:50:17 -0500
-----Original Message----- From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of Java XML Sent: Monday, April 09, 2001 1:17 PM 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" ?> <name> <text>welcome</text> <text>to</text> <text>amazon.com</text> </name>
<xsl:for-each select="TEXT"> <xsl:value-of select="normalize-space(.)" /> </xsl:for-each> but i get a string which looks like this without spaces "welcometoamazon.com"
is there a way to insert spaces between 2 text tags so that i get a display like this "welcome to amazon.com"
<xsl:for-each select="TEXT"> <xsl:value-of select="." /> </xsl:for-each> but got the value this way "welcome" "to" "amazon.com"
Thanx in advance JAX _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com
_________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] inserting space in xsl:va, Michael Kay | Thread | RE: [xsl] inserting space in xsl:va, Kristof Bernaert |
RE: [xsl] inserting space in xsl:va, Sherry Cheng | Date | Re: [xsl] How to preserve white spa, Mike Brown |
Month |