This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Bug: XSL loses example title in answer


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]