OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [docbook-apps] Line Breaks to BR in HTML Output


Huh?  You have a literallayout element with content that has the line breaks
you want, and those line breaks are not preserved when processed with the
DocBook XSL stylesheets?  That's very odd, because it certainly works for
me.  Have you customized the template for literallayout?  Are there <br>
elements in your HTML output?

Bob Stayton
Sagehill Enterprises
DocBook Consulting
bobs@sagehill.net


----- Original Message ----- 
From: "Russell Seymour" <russell.seymour@turtlesystems.co.uk>
To: "Bob Stayton" <bobs@sagehill.net>; <docbook-apps@lists.oasis-open.org>;
"Dave Pawson" <dpawson@nildram.co.uk>
Sent: Tuesday, March 09, 2004 11:27 AM
Subject: Re: [docbook-apps] Line Breaks to BR in HTML Output


> Bob,
>
> Thanks for that.
>
> I tried using literallayout, but nothing changed on the output, in other
> words the whitespace and line breaks where not preserved.
>
> I have used Dave's reply for the moment, but I would like to get the other
> way working as well.
>
> Thanks again,
>
> Russell
> ----- Original Message ----- 
> From: "Bob Stayton" <bobs@sagehill.net>
> To: "Russell Seymour" <russell.seymour@turtlesystems.co.uk>;
> <docbook-apps@lists.oasis-open.org>; "Dave Pawson" <dpawson@nildram.co.uk>
> Sent: Tuesday, March 09, 2004 6:25 PM
> Subject: Re: [docbook-apps] Line Breaks to BR in HTML Output
>
>
> > Since the input is being converted from another source to DocBook, why
not
> > just put it in a <literallayout> element?  The DocBook XSL stylesheets
use
> > the templates in that FAQ answer for  literallayout.
> >
> > Bob Stayton
> > Sagehill Enterprises
> > DocBook Consulting
> > bobs@sagehill.net
> >
> >
> > ----- Original Message ----- 
> > From: "Dave Pawson" <dpawson@nildram.co.uk>
> > To: "Russell Seymour" <russell.seymour@turtlesystems.co.uk>;
> > <docbook-apps@lists.oasis-open.org>
> > Sent: Tuesday, March 09, 2004 10:13 AM
> > Subject: Re: [docbook-apps] Line Breaks to BR in HTML Output
> >
> >
> > > At 16:35 09/03/2004, Russell Seymour wrote:
> > > >Good afternoon list,
> > > >
> > > >I know there is a lot of information about this topic on the
Internet,
> > but
> > > >I have not yet found a way to convert the LF in the XML document to
BR
> > > >tags in the outputtted HTML with a DocBook customsation.
> > >
> > >
> > > http://www.dpawson.co.uk/xsl/sect2/N7240.html#d8291e307
> > >
> > > hth davep
> > >
> > >
> > >
> > > To unsubscribe from this list, send a post to
> > docbook-apps-unsubscribe@lists.oasis-open.org, or visit
> > http://www.oasis-open.org/mlmanage/.
> > >
> > >
> > >
> >
> >
> >
> > To unsubscribe from this list, send a post to
> docbook-apps-unsubscribe@lists.oasis-open.org, or visit
> http://www.oasis-open.org/mlmanage/.
> >
> >
>
>
>




[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]