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

Re: whitespace problem (was: AW: import/include and ap

Subject: Re: whitespace problem (was: AW: import/include and apply-imports)
From: Ingo Schildmann <ingoschi@xxxxxx>
Date: Thu, 10 May 2001 11:05:10 +0200
markus klinge
On Thursday 10 May 2001 10:33, Markus Klinge wrote:
> We have a problem concerning whitespace.
>
> The HTML output I receive looks something like this:
>
> <title>
> 						a value
> 						</title>
>
> How can I get rid of the whitespace here?
> indent="no" and xsl:strip-space where of no help.


It would help, if you would mail the part of the stylesheet that
produces this.

Don't let your stylesheet produce any unwanted whitespace.
You can use xsl:element and xsl:text to make sure
that the result contains as much whitespace as you wish.

<xsl:element name="title">a value</xsl:element>

or 
<xsl:element name="title">
<xsl:text>a value</xsl:text>
</xsl:element>

Whitespace between different xsl-tags won't appear in the result.
-- 
Ingo Schildmann                                                ingoschi@xxxxxx

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


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.