Use:

      Element circle =
document.createElementNS("http://www.w3.org/2000/svg";,
                                                "circle");
instead of:

      Element circle = document.createElement("circle");


> -----Original Message-----
> From: George Armhold [mailto:[EMAIL PROTECTED]]
> Sent: Monday, July 22, 2002 5:18 PM
> To: Batik Users
> Subject: Re: JSVGComponent and updating display via the DOM
>
>
> Nicolas Socheleau wrote:
>
>  > Here is the page http://xml.apache.org/batik/javaScripting.html that
>  > might help you. It describe the steps to go through in order to take
>  > advantage of dynamic updates in Batik with Java ( this is working
>  > with Batik 1.5beta3 ).
>
> Thanks Nicolas.  I copied the code found on that page and made some
> slight modifications.  I add a <circle> element to the document when a
> mouse button is clicked, and then dump out the altered SVG.  The
> updates still never appear in the canvas.  Again, I'm using Batik
> 1.5beta3.
>
> My modified example can be found at:
>
>     http://erudycja.rutgers.edu/~armhold/CanvasTest.java
>
> The input I'm using as "doc.svg" can be found at:
>
>     http://erudycja.rutgers.edu/~armhold/doc.svg
>
>
> Thanks for any help.
>
>
> --
> George Armhold
> Rutgers University
> eLearning Grant, DCIS
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


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

Reply via email to