This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: Bug: XSL loses example title in answer
- From: Jon Willeke <willeke at intersystems dot com>
- To: docbook-apps at lists dot oasis-open dot org
- Date: Mon, 26 Nov 2001 16:12:06 -0500
- Subject: Re: DOCBOOK-APPS: Bug: XSL loses example title in answer
- List-id: <docbook-apps.lists.oasis-open.org>
I've reproduced this generating HTML with 1.42. The answer template in
html/qandaset.xsl looks too complicated for its own good. As a workaround,
you can put the following in your customization layer:
<xsl:template match="answer">
<div class="{name(.)}">
<xsl:apply-templates/>
</div>
</xsl:template>
I've never seen this problem before, but I always start an answer with text
in a para.
At 11/26/01, Christopher R. Maden wrote:
>The first example will print the programlisting, but not the example's
>title. The second example will print the correctly-numbered title
>(including the preceding omitted one in the numbering) and its programlisting.
--
Jon Willeke, Quality Development 617-577-3677