This is the mail archive of the
docbook@lists.oasis-open.org
mailing list for the DocBook project.
Re: example of docbook for FAQ?
- From: Dave Pawson <dpawson at nildram dot co dot uk>
- To: Joseph Panico <joe_panico at hotmail dot com>, docbook at lists dot oasis-open dot org
- Date: Sun, 01 Dec 2002 08:56:34 +0000
- Subject: Re: DOCBOOK: example of docbook for FAQ?
At 02:27 01/12/2002 +0000, Joseph Panico wrote:
Could someone point me to a docbook markup for producing nice looking
FAQs? The kinds with TOC/index.
Any pointers appreciated.
I use website, with the following structure
<?xml version="1.0" encoding="iso-8859-1" ?>
<!-- Time-stamp: "2002-06-16 18:02:15 Dave Pawson" -->
<!DOCTYPE webpage SYSTEM "../nw/docbook/website3/website.dtd">
<webpage navto="yes" id="dbroot">
<head>
<title>Docbook Frequently Asked Questions</title>
<summary>Docbook FAQ</summary>
<keywords>docbook faq FAQ</keywords>
</head>
<qandaset>
<qandaentry>
<question>
<para></para>
</question>
<answer>
<para role="author"></para>
<literallayout format="linespecific" class="normal">
</literallayout>
</answer>
</qandaentry>
....
The id value is used to create the filename through the parameter settings.
Each file takes a topic containing multiple qnaentry elements wrapped in
the qandaset.
The result is at www.dpawson.co.uk/docbook
HTH DaveP