You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-users@xmlgraphics.apache.org by th...@kodak.com on 2010/04/05 12:28:59 UTC

Re: Use Elements Attributes

Hi Mistercaste,

mistercaste <mi...@gmail.com> wrote on 03/26/2010 09:30:06 AM:

> Everything works good except that I can't set
> attributes on the signs that I place on the map
> (which are the "use" elements).

>     NodeList symbolList =
> canvas.getSVGDocument().getElementsByTagName(SVG_USE_TAG);// ???

    Is this really returning anything?  I think you need
to use getElementsByTagNameNS and use the SVG Namespace
(Element's need namespaces, attributes don't except for the
xlink attributes).