Hi,
I have an SVG DOM with no corressponding GVT tree and i am trying to
access the transform attribute of all the SVG text nodes in the DOM
NodeList textElements =
doc.getElementsByTagNameNS("http://www.w3.org/2000/svg","text");
for (int i=0 ; i < textElements.getLength() ; ++i) {
SVGOMTextElement textElement = (SVGOMTextElement) textElements.item(i);
.....
here is the problem. I have been trying for long to access the
text element's attributes, but keep getting a null. Am i supposed to
have a GVT to access the getCTM() and other methods in SVGOMTextElement
class. I am sorry i might sound like a fool, but i need to understand
the relation between the SVGDOM and the GVT. could somebody please
explain this a little bit. When do i need a GVT and when can i just
have an SVG DOM and access every node and its properties.
All that i am tring to do is parse the SVG DOM and may be manipulate
it for eg: change the x and y values or add a new attribute.
.......
}
thanks in advance. please help
Ananth
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]