This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: remove 'invisable' white spaces
- To: xsl-list at lists dot mulberrytech dot com
- Subject: Re: [xsl] remove 'invisable' white spaces
- From: cutlass <cutlass at secure0 dot com>
- Date: Mon, 02 Apr 2001 15:28:42 +0100
- References: <4B67D93B3C8CD311AE81009027D5E55EA014D0@DAVINCI>
- Reply-To: xsl-list at lists dot mulberrytech dot com
here is a specific xsl <xsl:strip-space element=""/>, but read this first
http://www.dpawson.co.uk/xsl/N8321.html
cheers, jim fuller
Kristof Bernaert wrote:
> sometimes, by editing, and in some editors, invisable white spaces are added
> to the xml doc.
>
> because i'm putting xml-content into a javascript-variable, no such white
> spaces are allowed, with the reason that it creates line breaks in that
> generated value and result in a js-error then
>
> like this:
> label1 = new Label('<table border="0"><tr><td width="280"><div
> align="justify">bla bla bla bla</div>')
>
> must be
> label1 = new Label('<table border="0"><tr><td width="280"><div
> align="justify">bla bla bla bla</div>')
>
> Exist there a way to remove such not-allowed (in this case) white spaces ?
>
> thx
> kristof
>
> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
>
>
>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list