This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Bug: XSL loses example title in answer
- From: "Christopher R. Maden" <crism at maden dot org>
- To: docbook-apps at lists dot oasis-open dot org
- Date: Mon, 26 Nov 2001 12:30:06 -0800
- Subject: DOCBOOK-APPS: Bug: XSL loses example title in answer
- List-id: <docbook-apps.lists.oasis-open.org>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Apparently, I can't post a bug to Sourceforge without becoming a member there.
DocBook XML 4.1.2, DocBook XSL 1.45.
XML:
<qandaset>
<qandaentry>
<question>
<para>Blah blah blah.</para>
</question>
<answer>
<example>
<title><filename
moreinfo="none">file.name</filename></title>
<programlisting format="linespecific">// Hello, World</programlisting>
</example>
<example>
<title><filename
moreinfo="none">file2.name</filename></title>
<programlisting format="linespecific>// Goodbye, World</programlisting>
</example>
</answer>
</qandaentry>
</qandaset>
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.
~Chris
- --
Christopher R. Maden, Principal Consultant, HMM Consulting Int'l, Inc.
DTDs/schemas - conversion - ebooks - publishing - Web - B2B - training
<URL: http://www.hmmci.com/ > <URL: http://crism.maden.org/consulting/ >
PGP Fingerprint: BBA6 4085 DED0 E176 D6D4 5DFC AC52 F825 AFEC 58DA
-----BEGIN PGP SIGNATURE-----
Version: PGP Personal Privacy 6.5.8
iQA/AwUBPAKmTqxS+CWv7FjaEQJoHQCgqzefo2+0FfMQL6Iln2N2CM/BEPgAnRng
F0VBRu7xS5i72m8Gj/xaaTSY
=KxQX
-----END PGP SIGNATURE-----