Linking with Xlink to "#link"?

221 Views Asked by At

In HTML if i want to do a link, i write:

 <a href="http://www.example.com">...</a>

To do an anchor i write:

 <a name="anchor">...</a>

And to do a link i write:

 <a href="http://www.example.com#anchor">...</a>

But with SVG (and so with XLINK, XPOINTER) is very difficult:

 <a xlink:href="http://www.example.com" xlink:show="new">...</a>

but if i write:

 <a xlink:href="http://www.example.com#anchor" xlink:show="new">...</a>

The page opened, is only .com, not example.com#anchor, maybe is there a mistake? And in the xlink, to do an anchor, must added ID ?

Thanks

0

There are 0 best solutions below