[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] Preserving newline / multi-lines in element content


Subject: Re: [xsl] Preserving newline / multi-lines in element content
From: David Carlisle <davidc@xxxxxxxxx>
Date: Thu, 15 Jan 2004 09:46:31 GMT


> When I run an XSLT on this the new-lines are automatically suppressed and
> I end up with one long line. The section of xsl that I use to handle this
> is:

Are you sure? That should not happen.
Of course if you are looking at some generated html, a newline in an
html file will be rendered as a space, unless you put it in a pre or
some equivalent css.

David



-- 
http://www.dcarlisle.demon.co.uk/matthew

________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

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



Current Thread
Keywords