Hi,

>               if (svgDoc != null) {
>                       if (dirty) {
>                               Element rect = svgDoc.createElement("rect");

I think above line should be svgDoc.createElementNS(svgNS,"rect");

>                               rect.setAttribute("x", "100");
>                               rect.setAttribute("y", "100");
>                               rect.setAttribute("width", "400");
>                               rect.setAttribute("height", "400");
>                               rect.setAttribute("fill", "blue");

Same here setAttributeNS(null,"x","100");
so on

Regards
Tonny Kohar
-- 
Sketsa 
SVG Graphics Editor
http://www.kiyut.com



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

Reply via email to