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

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook message

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


Subject: Re: [docbook] HTML BR tags


Hi Dave,

Docbook is about marking up content, not about layout. The layout is 
done in the XSL transformation step. If you're not satisfied with the 
default layout, you'll have to do your changes/extensions via an XSL 
customization layer. Check those references for more info on XSL 
customizations:

http://www.sagehill.net/xml/docbookxsl/index.html

and

http://docbook.sourceforge.net/release/xsl/current/doc/


Patrick

Dave Viner schrieb:
> Hi,
> 	I am generating a DocBook XML file which I need to convert to HTML.  In the
> output HTML, I need to have a <br> tag appear.  From reading
> http://www.docbook.org/tdg/en/html/ch02.html#d0e5767 and the archives, there
> are several possible ways to insert a linebreak into the output HTML.  It
> seems to me that this is a very common problem for those need to generate
> HTML from DocBook, and so would benefit from some sort of recommended or
> standard solution.  Is such a concept upcoming in future revisions of
> DocBook?
> 	If not, perhaps one possible solution would be to coerce a common attribute
> of literallayout for this purpose.  For example, <literallayout
> role="linebreak" /> might be used as a common expression for the HTML br
> tag.
> 
> Thanks
> Dave Viner
> 



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