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

Subject: AW: [xsl] making <p>s or <br> in html from a stylesheet
From: Ronald Kent Gibson <Kent.Gibson@xxxxxxxxxxx>
Date: Tue, 2 Sep 2003 14:18:22 +0200
thanks for the feedback, problem resolved!

-----Ursprüngliche Nachricht-----
Von: David Carlisle [mailto:davidc@xxxxxxxxx]
Gesendet: Montag, 1. September 2003 17:50
An: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Betreff: Re: [xsl] making <p>s or <br> in html from a stylesheet




> 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

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


Current Thread