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

Hi Stefan,
This was discussed in May in this thread:


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" <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 

> 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

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