This is the mail archive of the docbook@lists.oasis-open.org mailing list for the DocBook project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Chapter and sect1 both creates H2 html tag


Øyvind,

I'm sure someone far more knowledgable will also respond but here's my input.

1. HTML is very limited in the elements that it provides so your large selection of elements in XML source files must be mapped to the fewer selection of elements in HTML.

2 and 3. To change how your XML is converted requires you to alter the stylesheet you use to produce the output you want. You are still limited by HTML's small element selection.

Sincerely, Jeff Biss

Øyvind Heggen wrote:

Hi

My document is structured like this :

Book
Chapter
sect1
sect2
sect3
/sect3
/sect
/sect1
/Chapter
/book

When building html and html_chunks, Book crates a H1 tag, Chapter and
sect1 creates H2, sect2 creates H3 etc.

Question: 1 Why does Chapter and sect1 create the same tag (H2) ?
2 How do I get them to create difftrent html tags so
that I can set diffrent fonts and text size with CSS
3 or some other way to set diffrent fonts and color in
XSL(preferably nr 2)
Thank you






Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]