This is the mail archive of the
docbook@lists.oasis-open.org
mailing list for the DocBook project.
Re: Chapter and sect1 both creates H2 html tag
- From: Jeff Biss <jeff at marco-inc dot com>
- To: Øyvind Heggen <oyvind at objectplanet dot com>
- Cc: docbook at lists dot oasis-open dot org
- Date: Mon, 03 Feb 2003 09:16:10 -0600
- Subject: Re: DOCBOOK: Chapter and sect1 both creates H2 html tag
- References: <000001c2cb74$49594ff0$1501000a@torgeirlaptop>
Ø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