xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From thomas.dewe...@kodak.com
Subject Re: Use Elements Attributes
Date Mon, 05 Apr 2010 10:28:59 GMT
Hi Mistercaste,

mistercaste <mistercaste@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).


Mime
View raw message