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.

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
> [email protected]
>
>
> ----- Original Message ----- From: "Stefan Kost"
> <[email protected]>
> To: <[email protected]>
> 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: [email protected]
>> For additional commands, e-mail: [email protected]
>>
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to