SVG document structure : Referencing
Several referencing systems can be used
Relative referencing
The reference is local
Example
<linearGradient id="myGradient">
....
</linearGradient>
...
<rect style="fill:url(#myGradient) />
Absolute referencing
The reference is a general URI
The reference is not located inside the local document
Both referencing can use the XPointer syntax
Didier Courtaud
The SVG language
Novembre 2001
11 / 74