xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Albert Valls" <ava...@ngeografics.com>
Subject Obtain a SVGTextElement from a SVGDocument
Date Thu, 06 Sep 2001 10:03:47 GMT
I parse a file getting a SVGDocument. I'm interested in treating the <text> tags and
to do so I use the method getElementsByTagName("text"). The problem is that when I have one
of the nodes, I can't cast it to a SVGTextElement, it gives to me a classCastException: org.apache.batik.dom.GenericElement.
What's wrong with what i'm doing ?

Thanks.


Mime
View raw message