[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] Transform xml to html


Subject: Re: [xsl] Transform xml to html
From: "andrew welch" <andrew.j.welch@xxxxxxxxx>
Date: Fri, 10 Mar 2006 17:05:00 +0000

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.gorman@xxxxxxxxx> 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


Current Thread