SVG icon inclusion support

Krzysztof Kosiński tweenk.pl at gmail.com
Sun Jan 26 11:00:09 PST 2014


> Some svg editors, e.g. inkscape, allow to edit svg content directly in text
> format. I guess, icon references could be implemented by some special tag
> (could be compared with doxygen and gtkdoc comments, treated only by doc
> generation utils).
>
> Did not learn honestly, is it possible in svg, but hope, someone else knowes.
> If not possible, probably it makes sence to push such proposal for svg format.

If I understand that right, you could do this by using the svg:use tag
(known as a "clone" in Inkscape) to refer to an element in an external
document. However, there would be no fallback mechanism as there is
with icons.

http://www.w3.org/TR/SVG11/struct.html#UseElement

Regards, Krzysztof


More information about the xdg mailing list