This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: qandaentry: HTML output
- To: Michael Wiedmann <michael dot wiedmann at detewe dot de>
- Subject: Re: DOCBOOK-APPS: qandaentry: HTML output
- From: Norman Walsh <ndw at nwalsh dot com>
- Date: Fri, 21 Jul 2000 06:56:52 -0400
- Cc: DocBook-Apps ML <docbook-apps at lists dot oasis-open dot org>
- References: <39782004.E8051AF6@detewe.de>
- Reply-to: Norman Walsh <ndw at nwalsh dot com>
/ Michael Wiedmann <michael.wiedmann@detewe.de> was heard to say:
| For HTML-Output I want to separate the next question a bit more from the
| last answer. Since there may be more than one <para> in an answer, this
| extra space should only be added for the last <para>.
How do you want to add the space? A couple of BRs?
Something like this should work:
(element (answer para)
(make sequence
(make element gi: "P"
(process-children))
(if (last-sibling? (current-node))
(make empty-element gi: "BR"))))
Overlooking any typos I made.
Be seeing you,
norm
--
Norman Walsh <ndw@nwalsh.com> | The shoe that fits one person
http://www.oasis-open.org/docbook/ | pinches another; there is no
Chair, DocBook Technical Committee | recipe for living that suits all
| cases.--Jung