This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Text output and whitespaces.
- From: "J.Pietschmann" <j3322ptm at yahoo dot de>
- To: xsl-list at lists dot mulberrytech dot com
- Date: Thu, 30 May 2002 00:44:32 +0200
- Subject: Re: [xsl] Text output and whitespaces.
- References: <200205280630.CAA08591@biglist.com> <3CF545E5.4C74969C@VRudovich.com>
- Reply-to: xsl-list at lists dot mulberrytech dot com
Vitaly B. Rudovich wrote:
> How can I define in _XSLT_stylesheet_ an element
> <ns:whitespace /> ?
> (It is reasonable to have additional an optional attribut "length".
> Some formats require specific number of whitespaces between elements.)
<xsl:variable name="space" select="' '"/>
...
<xsl:value-of select="substring($space,1,$length)"/>
It's not much better. You can also try xml:space.
J.Pietschmann
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list