In the Safari browser and others, an element's "title" attribute
appears as a tooltip. Thus, for example, if the mouse is over any text
within (say) an <h3> section of text, the <h3> title appears. I find
this tooltip maddening, as it serves no purpose and blocks my view of
the text I'm trying to read, and would like to suppress it.
To be more explicit, the HTML I'm objecting to is this sort of thing:
<div class="section" title="Understanding History: Commits">
The question, then, for those familiar with the full XSL toolchain,
is: Can I suppress those "title" attributes, and how hard would it be?
I've done some successful XSL customization (I'm doing ascii-doc to
chunked XHTML via a2x), but I don't see any simple way to get rid of
this feature. Indeed, the fact that many well-known DocBook-made
documents display it (such as the git manual) makes me think that it's
hard to get rid of it, because if it were easy to get rid of, everyone
would. :)
I'm thinking, indeed, that the only way to clean out these "title"
attributes is going to be to post-process the chunked HTML after a2x
finishes, and I'm perfectly happy to do that; I'm just asking about
this before I take off my XSL hat and put on my Ruby hat.
I realize this is not an AsciiDoc question per se, but (1) I couldn't
find another place to ask, and (2) this is a place where people have a
lot of experience using a2x and the XSL part of the toolchain.
--
You received this message because you are subscribed to the Google Groups
"asciidoc" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/asciidoc?hl=en.