1 <?xml version=
"1.0" standalone=
"no"?>
2 <?xml-stylesheet href=
"315920-21-style.css" type=
"text/css"?>
4 <!DOCTYPE svg PUBLIC
"-//W3C//DTD SVG 1.1//EN"
5 "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
6 <svg width=
"4in" height=
"3in" version=
"1.1"
7 xmlns=
"http://www.w3.org/2000/svg"
8 xmlns:
xlink=
"http://www.w3.org/1999/xlink"
10 <desc>This graphic links to an external image
12 <script type=
"text/javascript"> <![CDATA[
13 function onloadHandler() {
14 var image = document.getElementById(
"i1");
15 image.addEventListener(
"error",
17 document.documentElement.removeAttribute(
"class");
20 image.setAttributeNS(
"http://www.w3.org/1999/xlink",
21 "href",
"no-such-scheme:nothing");
23 window.addEventListener(
"load", onloadHandler, false);
26 <image id=
"i1" x=
"200" y=
"200" width=
"100px" height=
"80px">
28 <circle cx=
"100" cy=
"50" r=
"40" stroke=
"black" stroke-width=
"2" fill=
"red"/>