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: 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




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