Next in thread → Next in month →

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

From
Bob Stayton <>
Date
2010-06-10T16:14:43+00:00
ID
17e601cb08b8$002f84f0$6600a8c0@pazu
Thread
Re: [docbook-apps] how to get rid of "title" attributes on "div" tags in html output
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.

Bob Stayton
Sagehill Enterprises



----- Original Message ----- 
From: "Stefan Kost" <>
To: <>
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: 
> For additional commands, e-mail: 
>
>
>
Next in thread → Next in month →