W3C home > Mailing lists > Public > www-svg@w3.org > September 2005

<use> and <title>

From: Steiner, Dominik <Dominik.Steiner@gigatronik.com>
Date: Thu, 1 Sep 2005 11:12:49 +0200
Message-ID: <5EE5137D79A3CA45970354F512B3F3E3235FC9@m-ex1.gt.local>
To: <www-svg@w3.org>
Hi there,

 

I wish you all a nice day and I have a problem. Shouldn't the following
render a tooltip on the <use>-node? Well, it doesn't and I was wondering
how you can do it properly without having to add the <title> to the
<rect> but to the <use> so that I can add different tooltips to my use
elements?

 

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

 

Thanks for your help in advance.

 

Dominik
Received on Friday, 2 September 2005 03:51:18 GMT

This archive was generated by hypermail 2.3.1 : Friday, 8 March 2013 15:54:31 GMT