xsl-list
[Top] [All Lists]

Re: [xsl] Transform xml to html

2006-03-10 10:05:21
Isn't it just case of escaping the < angle bracket to & l t ; and
wrapping it all in a <pre> ?

No need to convert LFs to <br/>s when <pre> is used....

On 3/10/06, Jon Gorman <jonathan(_dot_)gorman(_at_)gmail(_dot_)com> wrote:

This sounds like a task that has been accomplished many times before. Is
there an existing stylesheet that performs this easily? Can someone share or
point me to a source? It would save me some valuable time.

http://www.dpawson.co.uk/xsl/sect2/N7240.html#d4e400

from the FAQ that's mentioned in the email that was sent to you when
you joined the list or mentioned in the doc in the bottom of the email
that starts the thread.  Searching the archives that was provided in
the same link will also probably turn up links.  Typing 'replace br
xslt' in google turns up several messages in the archives that also
match.

Not sure if we've saved you any time since you've had to wait for our 
answer...


Jon Gorman

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: 
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

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