DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=34030>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=34030





------- Additional Comments From [EMAIL PROTECTED]  2005-03-16 09:58 -------
I saw I made a mistake in the example. The following is what I intended to do

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg id="svgdoc" xmlns="http://www.w3.org/2000/svg";
xmlns:xlink="http://www.w3.org/1999/xlink";>
<script type="text/ecmascript">
<![CDATA[
function testFunction()
{
        var testObj = document.getElementById("test");
        var newElem = document.createElement("text");
        newElem.setAttribute("x","150");
        newElem.setAttribute("Y","150");
        newElem.setAttribute("fill","black");
        newElem.appendChild(document.createTextNode("tester"));
        testObj.appendChild(newElem);
}
]]>
</script>
<rect x="30" y="30" width="40" height="40" onclick="testFunction()" />
<g id="test">
        <text x="10" y="10" id="test3">test2</text>
</g>
</svg>

Now the problem is that the element that I add is not shown in the SVG viewer.
It is however shown in the DOM viewer. Nothing hangs in this example, but
something should happen right?

Greetings,
Gertjan

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to