This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: Variations on <qandaset>
- From: Norman Walsh <ndw at nwalsh dot com>
- To: "John W. Himpel" <jwhimpel at tseinc dot com>
- Cc: docbook-apps at lists dot oasis-open dot org
- Date: Mon, 31 Dec 2001 10:53:48 -0500
- Subject: DOCBOOK-APPS: Re: Variations on <qandaset>
- References: <1009415485.20303.2.camel@himpel>
/ "John W. Himpel" <jwhimpel@tseinc.com> was heard to say:
| This would render into something resembling:
>
| Problem: This is a problem description.
| Possible Solution: This is a possible solution.
This ought to do it:
<qandaset>
<qandaentry>
<question><label>Problem:</label>
<para>
This is a problem description.
</para>
</question>
<answer><label>Possible Solution</label>
<para>
This is a possible solution.
</para>
</answer>
</qandaentry>
</qandaset>
The label attribute became an element because you can't put markup
(emphasis, etc.) in attributes.
Be seeing you,
norm
--
Norman Walsh <ndw@nwalsh.com> | One should never make one's debut
http://www.oasis-open.org/docbook/ | with a scandal. One should reserve
Chair, DocBook Technical Committee | that to give interest to one's old
| age.--Oscar Wilde