[Home] [By Thread] [By Date] [Recent Entries]

Subject: Re: Text output and whitespaces.
From: "J.Pietschmann" <j3322ptm@xxxxxxxx>
Date: Thu, 30 May 2002 00:44:32 +0200
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



Current Thread
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member