Questions tagged [xlink]

XLink is a web standard for creating hyperlinks to navigate an XML document.

XLink (XML Linking Language) is a web standard for creating hyperlinks to navigate an XML document.
XLink defines a set of attributes that may be added to elements of other XML namespaces.
XLink provides two kinds of hyperlinking for use in XML documents. Simple links connect only two resources, similar to HTML links. Extended links can link an arbitrary number of resources.

Simple links:

A simple link creates a unidirectional hyperlink from one element to another via a URI. Example:

<?xml version="1.0"?>
<document xmlns="http://example.org/xmlns/2002/document" xmlns:xlink="http://www.w3.org/1999/xlink">
  <heading id="someHeading">Some Document</heading>
  <para>Here is <anchor xlink:type="simple" xlink:href="#someHeading">a link</anchor> to the header.</para>
  <para>It is an anchor that points to the element with the id "someHeading" on the current page.</para>
</document>

Extended links:

Extended links allow multiple resources, either remote or local, to be connected by multiple arcs. An arc is information about the origin, destination and behavior of a link between two resources. The origin and destination resources are defined by labels. By using one or more arcs, an extended link can achieve specific sets of connections between multiple resources.

Useful references:

157 questions
0
votes
2 answers

Make a text-link in SVG via Adobe Illustrator

When linking-out text, I save the graphics as Tiny-SVG, and embed the text-passage in a tspan element and wrap this tspan using the . It works but I would like to know more about alternatives, and pros/cons compared to…
Lorenz Lo Sauer
  • 23,698
  • 16
  • 85
  • 87
0
votes
1 answer

SVG linking within the same SVG structure

I have two SVG structures in my HTML document. Say for example, Local URI references within ancestor's 'defs' element.
geeky
  • 1
0
votes
1 answer

CSS-attr on XHTML in SVG

I've embedded a
in a using . I want to its CSS attribute opacity, fading it in when the page has loaded. So I specified an XLink locator, referring to the target element to be animated:
Mathias
  • 334
  • 3
  • 5
  • 22
-1
votes
1 answer

How to add link on SVG

Why do the links in the SVG file stop working if an img tag is used (HTML, svg, development)? How can I add link SVGs that are included in a tag? puzzle In this puzzle when I move my mouse around on top of the puzzle piece it stutters…
-1
votes
1 answer

C# Get Value of Xlink:href XML Node

my XML File is something like
Sörenius
  • 3
  • 5
-1
votes
2 answers

jquery turn a href to xlink:href

I am trying to implement the following rewrite of links inside svg: link title to link title As these kind of links will not work on safari without the XLINK part. I tried altering drupal views…
-1
votes
1 answer

Color area in SVG xlink imported file using JavaScript

I have following index.html file: