You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-users@xmlgraphics.apache.org by "Steiner, Dominik" <Do...@gigatronik.com> on 2005/09/02 07:38:52 UTC

and implementation in batik</h1><pre>Hi my dear friends, I'm running into a problem when I want to add a title tag to a use tag. As it is implemented in batik, the title tag normally shows up as a tooltip, but this doesn't work with my use tag. I want to do the following: <?xml version="1.0"?> <svg xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://www.w3.org/2000/svg" version="1.2"> <defs> <rect id="MyRect" x="160" y="50" height="60" width="80" style="fill:#1155AA; stroke: #CCCCCC; stroke-width: 5" \> </defs> <use x="80" y="80" xlink:href="#MyRect"> <title>The Title</title> </use> </svg> But the tooltip doesn't appear... any ideas?? Dominik </pre><hr/> <h2>Re: <use> and <title> implementation in batik</h2> <b>Posted by Thomas DeWeese <Th...@Kodak.com>.</b><hr/><pre>Hi Dominik, Steiner, Dominik wrote: > I’m running into a problem when I want to add a title tag to a use tag. > As it is implemented in batik, the title tag normally shows up as a > tooltip, but this doesn’t work with my use tag. This is sort of a bug in Batik. I'll be committing a fix for it shortly. The summary is that Batik would only look at the element which defined the geometry not any of the parents. This also precluded title/desc on 'g' and 'svg' elements from putting up toolTips. --------------------------------------------------------------------- To unsubscribe, e-mail: batik-users-unsubscribe@xmlgraphics.apache.org For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org </pre><hr/> </body> </html>