xsl-list
[Top] [All Lists]

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

2003-09-02 05:18:22
thanks for the feedback, problem resolved!

-----Ursprüngliche Nachricht-----
Von: David Carlisle [mailto:davidc(_at_)nag(_dot_)co(_dot_)uk]
Gesendet: Montag, 1. September 2003 17:50
An: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
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



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