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


Norman Walsh wrote:
 
> 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"))))

This works in general - almost perfect.
I only have to figure out the case where there is only one <para> in an
<answer> - because this case is not handled in the above code (no <BR>
for <answer>s with only one <para>).

Thanks
Michael
PS: I only had to add an "(empty-sosofo)" for the "alternate" part 
    of the condition.
-- 
Michael Wiedmann   office:  <michael.wiedmann@detewe.de>
                   private: <mw@miwie.in-berlin.de>


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


Powered by eList eXpress LLC