Thanks Tonny.
I modified my code to use the namespace-aware methods wherever it is applicable
but the canvas is still not updating. My JSVGCanvas is in a JTabbedPane,
could this have anything to do with the updates not being seen (like perhaps
making a JTabbedPane dynamic or something)?
Also, in regards to being namespace aware:
NodeList aLinks = document.getElementsByTagNameNS(svgNS, "a");
Node aLink = aLinks.item(0); <- Namespace aware?
NamedNodeMap aLinkAtts = aLink.getAttributes(); <- Namespace aware?
Regards, Marc> Date: Thu, 1 Nov 2007 11:07:32 +0700> From: [EMAIL PROTECTED]>
To: [email protected]> Subject: Re: JSVGCanvas does not update
with modified DOM using Update Manager> > Hi,> > On 11/1/07, Marc-Wayne M.
Formales <[EMAIL PROTECTED]> wrote:> >> > Element animate =
diagramSVG.createElement("animateColor"); //where> > diagramSVG is Document
type> > //set attributes> > animate.setAttribute( ...);> > ...> > Batik is
namespace aware, so you need to use namespace when creating> or set attribute
using the namespace aware methods> > String svgNS =
SVGConstants.SVG_NAMESPACE_URI;> diagramSVG.createElementNS(svgNS,...)>
animate.setAttributeNS(svgNS,...)> > Regards> Tonny Kohar> -- > Inspiration and
Expression> http://blogs.kiyut.com/tonny/> >
---------------------------------------------------------------------> To
unsubscribe, e-mail: [EMAIL PROTECTED]> For additional commands, e-mail: [EMAIL
PROTECTED]>