xsl-list
[Top] [All Lists]

Re: Preserving newline / multi-lines in element content

2004-01-15 02:46:31


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



<Prev in Thread] Current Thread [Next in Thread>