OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]

Subject: Re: DOCBOOK-APPS: qandaentry: HTML output

/ 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"
    (if (last-sibling? (current-node))
      (make empty-element gi: "BR"))))

Overlooking any typos I made.

                                        Be seeing you,

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

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]

Powered by eList eXpress LLC