Re: [xsl] RE: need to show spaces

Subject: Re: [xsl] RE: need to show spaces
From: Joerg Pietschmann <joerg.pietschmann@xxxxxx>
Date: Fri, 15 Mar 2002 12:15:33 +0100
"Joerg Heinicke" <joerg.heinicke@xxxxxx> wrote:
> I assume you are using the namespace WD-XSL,

Also try looking for typos:

> <xsl.value-of select="translate(@val,' ', '&#160;')"/>
      ^
should be a colon

A rather different solution woul be to wrap the text into
a <pre> element or use one of the various CSS mechanisms
to tell the browser to preserve whitespace.

Regards
J.Pietschmann

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


Current Thread