[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

space was stripping

Subject: space was stripping
From: "Selvaganesh" <selvaganesh_t@xxxxxxxxxxxxxx>
Date: Thu, 17 Dec 2009 15:20:59 +0530
 space was stripping
Hi Team,

I was using XSL for browser viewing purpose.

I wrote the XSL simply input tag to output tag:

	<xsl:template match="legis-cite">
	<span style="background-color: #99FF99; font-size:17;
color:Black;"><xsl:apply-templates/></span>
	</xsl:template>

XML file
	<p>Teating <legis-cite>legis content1</legis-cite> <legis-cite>legis
content2</legis-cite></p>

Actual Output
	<p>Teating <span style="background-color: #99FF99; font-size:17;
color:Black;">legis content1</span><span style="background-color: #99FF99;
font-size:17; color:Black;">legis content2</span></p>

Space was removed between the "legis content1" & "legis content2"

How can I correct this issue, in my expectation output do remove the space,
when same continue in the inline text

Thanks,
Selva



Confidentiality Notice:  This transmittal is a confidential communication.  If you are not the intended recipient, you are hereby notified that you have received this transmittal in error and that any review, dissemination, distribution or copying of this transmittal is strictly prohibited.  If you have received this communication in error, please notify this office immediately by reply and immediately delete this message and all of its attachments, if any.

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.