Bob,
I have found that the literallayout works when I produce and FO and then a
PDF, but not when converting to HTML. However for the HTML I am using
Dave's FAQ anwaer which seems to be working OK.
The thing that is now puzzling me is that I thought a newline character
would be honored in the FO output, but I find it is not. Using
literallayout here is not statisfactory as the text I am importing from the
database is bing put into a table and this tag means the text overruns the
confines of the table cell.
What I need it to do is honor the newline characters that are there but also
wrap the text if it needs to at the boundaries of the cell, but I am not
having much luck with this. I did think that maybe using the same XSL for
the HTML markup would work, but then I realised that this is just for HTML
output and not FO.
On another note you may have seen my last post yesterday which was to do
with printing a seperate title page. I have re-read your documentation on
your very informative site but have not made a progress. Are there any
examples or hints you can point me in the direction of to get this to work.
I apologsie for all the questions, I am still getting my head around the
DocBook standard.
Thanks very much for all your help.
Kind regards,
Russell
----- Original Message -----
From: "Bob Stayton" <>
To: "Russell Seymour" <>;
<>; "Dave Pawson" <>
Sent: Tuesday, March 09, 2004 9:07 PM
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
>
>
>
> ----- Original Message -----
> From: "Russell Seymour" <>
> To: "Bob Stayton" <>;
<>;
> "Dave Pawson" <>
> 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" <>
> > To: "Russell Seymour" <>;
> > <>; "Dave Pawson"
<>
> > 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
> > >
> > >
> > >
> > > ----- Original Message -----
> > > From: "Dave Pawson" <>
> > > To: "Russell Seymour" <>;
> > > <>
> > > 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
> > > , or visit
> > > http://www.oasis-open.org/mlmanage/.
> > > >
> > > >
> > > >
> > >
> > >
> > >
> > > To unsubscribe from this list, send a post to
> > , or visit
> > http://www.oasis-open.org/mlmanage/.
> > >
> > >
> >
> >
> >
>
>
>