Re: [xsl] making <p>s or <br> in html from a stylesheet

Subject: Re: [xsl] making <p>s or <br> in html from a stylesheet
From: David Carlisle <davidc@xxxxxxxxx>
Date: Mon, 1 Sep 2003 16:50:15 +0100

> The line terminator can be anything ie &#xA;. or \n or \r\n  

No it will always be  &#xA; as the XML parser normalises the other
possibilities to this before XSLT starts.

there was a long thread on _exactly_ the problem of
putting divs around lines last week.
The link to the archives is at the end of every message.

Although actually in your case it looks like a code fragment, are you
sure you want to put a dov around every line, rather than just sticking
the whole lot in a <pre> so line breaks are honoured?

David

________________________________________________________________________
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