[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Subject: DOCBOOK-APPS: Re: Bug: XSL loses example title in answer
/ Bob Stayton <bobs@caldera.com> was heard to say: | On Mon, Nov 26, 2001 at 12:30:06PM -0800, Christopher R. Maden wrote: | > | > Apparently, I can't post a bug to Sourceforge without becoming a member there. We used to allow anonymous bug reports, but it's too hard to track down the originator that way :-) | I went ahead and filed a bug report #485946 for this. Thanks. | Norm, because only he knows the logic he used in | handling the first child that way. I hope he | remembers what it was. 8^) Sure, it's easy to explain even if it's a royal pain in the tokus. Questions and answers are supposed to have labels. For example, Q: How many angels can dance on the head of a pin? But if the markup is: <qandaset defaultlabel="qanda"> <qandaentry> <question> <para>How many angels can dance on the head of a pin?</para> </question> </qandaentry> </qandaset> The "obvious" implementation produces something like: <div class="qandaentry"> <span class="label">Q:</span> <p>How many angels can dance on the head of a pin?</p> </div> which renders as: Q: How many angels can dance on the head of a pin? So the first child of question and answer need all this special gook in order to attempt to get the label inside the first block. It sucks totally, but I don't know of a better answer. I'm open to suggestions. Be seeing you, norm -- Norman Walsh <ndw@nwalsh.com> | Part of thinking is its cruelty, http://www.oasis-open.org/docbook/ | aside from its contents. It is the Chair, DocBook Technical Committee | process of detachment for | everything else, the ripping, the | wrenching, the sharpness of | cutting.--Elias Canetti
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Powered by eList eXpress LLC