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.

Reply via email to