This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: whitespace problem (was: AW: import/include and apply-imports)


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@web.de

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]