[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] Element title encountered in qandaentry
On Wed, Nov 21, 2018 at 04:56:17PM -0800, Bob Stayton wrote: > <xsl:template match="d:qandaentry/d:title"> > <xsl:call-template name="block.object"/> > </xsl:template> > > That will create a nested div with attribute class="title" inside the div > for qandaentry, and then you can add a new CSS entry to your stylesheet to > format it. Thank you for your reply! But it seems, that it didn't solve the problem. Eg. with this little document: <?xml version="1.0" encoding="utf-8"?> <topic xmlns='http://docbook.org/ns/docbook' xmlns:xlink="http://www.w3.org/1999/xlink" version="5.0"> <title>Title allowed in qandaentry.</title> <qandaset defaultlabel='qanda'> <qandaentry><title>This title is the first child of an qandaentry element</title> <question><para>Q</para></question> <answer><para>A</para></answer> </qandaentry> </qandaset> </topic> With unmodified stylesheet I get the following browser output Title allowed in qandaentry. Q: This title is the first child of an qandaentry element <title>This title is the first child of an qandaentry element</title> Q: Q A: A and with the customized stylesheet, except that there are no title tags visible the output is the same and it looks wrong to me. Thank you and with best regards
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]