rendered paste body<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="-//W3C//DTD XHTML 1.1//EN" xml:lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>SketchVG Rectangle Tool Test</title>
<script type='text/javascript; e4x=1' src='test.js'/>
<script type='text/javascript; e4x=1'>
<![CDATA[
var statusBox;
function init()
{
statusBox = document.getElementById('box');
}
function doStuff()
{
statusBox.value += "hi";
}
]]>
</script>
</head>
<body onload='init();' >
<svg:svg id='svgRoot' xmlns:svg='http://www.w3.org/2000/svg' version='1.1' width='1000' height='400'>
<svg:g id="node1" class="node"><title>1</title>
<svg:a xlink:href="Javascript:doStuff();" xlink:title="1">
<ellipse style="fill: none; stroke: black;" cx="175" cy="94" rx="27" ry="18"/>
<svg:text text-anchor="middle" x="175" y="99">1</svg:text>
</svg:a>
</svg:g>
</svg:svg>
<p><textarea id='box' rows='15' cols='100'/></p>
</body>
</html>