This is the mail archive of the
docbook@lists.oasis-open.org
mailing list for the DocBook project.
[docbook] DTD Customisation
- From: "Mike Devlin" <mike_devlin at fastmail dot fm>
- To: docbook at lists dot oasis-open dot org
- Date: Wed, 21 Jul 2004 06:04:09 -0700
- Subject: [docbook] DTD Customisation
Hi there
I'm part of a development team who have been assigned the task of
developing a documentation procedure for our company. We plan to use
docbook but it looks like we'll need to customise the DTD slightly. I
understand it's possible to create a customisation layer for the DTD to
allow this.
Our documents will have a strict structure as follows:
<book>
|___<preface>
|___<chapter>
| |
| |_<section role="topic">
| | |_<section role="overview">
| | |_<section role="detail">
| | |_<section role="wrapup">
| |
| |_<section role="topic">
| ...
|
|___<chapter>
...
|___<appendix>
|___<index>
ie: Any number of topics inside any number of chapters but each topic
MUST have the 3 children "overview", "detail" & "wrapup". This is
because different, related information must go in each of these with the
possibility of a sub-set being output to PDF when published.
What mods to the DTD would I need to make to ensure that a Validator
will only accept documents in this format?
Tia.
MikeD
--
Mike Devlin
mike_devlin@fastmail.fm
To unsubscribe from this list, send a post to docbook-unsubscribe@lists.oasis-open.org, or visit http://www.oasis-open.org/mlmanage/.