This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


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: Variations on <qandaset>


/ "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


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