OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [docbook-apps] how to get rid of "title" attributes on "div"tags in html output


On 11.06.2010 11:48, Stefan Kost wrote:
> On 10.06.2010 19:14, Bob Stayton wrote:
>   
>> Hi Stefan,
>> This was discussed in May in this thread:
>>
>> http://lists.oasis-open.org/archives/docbook-apps/201005/msg00033.html
>>
>> The template mode="html.title.attribute" is used to generate all those
>> title attributes. You can turn off all title attributes with this:
>>
>> <xsl:template match="*" mode="html.title.attribute"/>
>>
>> That also turns it off for links, though.  This needs to get fixed in
>> stylesheet's next release.  I thought someone had filed a bug report
>> on it, but I guess not, so I just filed one.
>>     
> Thanks for the quick reply. Unfortunately overriding
> <xsl:template match="*" mode="html.title.attribute"/>
> only removes it from the links and not from the divs.
>   

The workaround seems to be
<xsl:template name="generate.html.title"/>

Stefan
> Do, you have a link for the bug you filed, for reference in the bug I
> have on the issue in gtk-doc?
>
>
> Stefan
>
>   
>> Bob Stayton
>> Sagehill Enterprises
>> bobs@sagehill.net
>>
>>
>> ----- Original Message ----- From: "Stefan Kost"
>> <ensonic@hora-obscura.de>
>> To: <docbook-apps@lists.oasis-open.org>
>> Sent: Thursday, June 10, 2010 8:32 AM
>> Subject: [docbook-apps] how to get rid of "title" attributes on "div"
>> tags in html output
>>
>>
>>     
>>> hi,
>>>
>>> people complain about the title attributes on div tags, as those show up
>>> as tooltips in browsers, just where you are reading.
>>>
>>> e.g.
>>>
>>> <book>
>>>  <bookinfo>
>>>    <title>tester Reference Manual</title>
>>>    ...
>>>
>>> becomes:
>>>
>>> <div class="book" title="tester Reference Manual">
>>>
>>> I can't find anything on
>>> http://docbook.sourceforge.net/release/xsl/current/doc/html/index.html
>>> to disable that. I am now digging the stylesheets for a while and I
>>> found only this template
>>> <xsl:template match="*" mode="html.title.attribute">
>>> but that is just creating the titles for e.g. links. Any tips?
>>>
>>> Stefan
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
>>> For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org
>>>
>>>
>>>
>>>       
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
>> For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org
>>
>>     
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
> For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org
>
>   



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]