<?xml version="1.0" encoding="UTF-8"?> | |
<svg viewBox="0 0 480 360" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> | |
<!-- This test shouldn't display anything because it refers to itself. If we have an | |
other element in defs e.g. <defs> <rect id="someOtherElement"/></defs> and we would | |
use it that construction should work. --> | |
<use id="mySelf" x="25" y="25" xlink:href="use-referencing-itself.svg#mySelf" /> | |
</svg> |