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 th...@bushfire.co.za on 2004/08/03 13:40:36 UTC
xlink:href embedding
Hi,
I want to add url's to the generated svg nodes.
Like:
<a xlink:href="http://localhost" target="_top">
<ellipse cx="42" cy="30" rx="37" ry="18" style="fill:none;stroke:black;"/>
<text text-anchor="middle" x="42" y="35">Topic A</text>
</a>
Currently I am looping through all the nodes and creating a new
document for each one. This creates one file with lots of
repeated xml/svg entries. Then I fix it to make one svg file.
Maybe someone else have done it in a better way.
Regards,
Theo
---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-users-help@xml.apache.org
Re: xlink:href embedding
Posted by Tonny Kohar <to...@kiyut.com>.
Hi,
>
> I want to add url's to the generated svg nodes.
>
> Like:
>
> <a xlink:href="http://localhost" target="_top">
> <ellipse cx="42" cy="30" rx="37" ry="18" style="fill:none;stroke:black;"/>
> <text text-anchor="middle" x="42" y="35">Topic A</text>
> </a>
Maybe you can create an ECMAscript that handle onClick event for URL
Linking
Regards
Tonny Kohar
--
Sketsa
SVG Graphics Editor
http://www.kiyut.com
---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-users-help@xml.apache.org