xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Phillip Larsen" <phillip.lar...@intermedium.no>
Subject DOM Manipulation
Date Wed, 06 Mar 2002 08:28:03 GMT

I am generating a graph with Java 2D, and then using Batik to convert it
to SVG.

In my graph, which is a simple line graph with circles connecting the lines
of the graph, I need to add some clickable links to the circles.

The problem is that I am unable to add the links to the circles as I am
generating the graph since I am using a precompiled library to generate the

I have tried to manipulate the DOM Document generated by Batik to replace
the circle element nodes with a Document Fragment containing an XLink node
with a Circle node child. However I have not been succesful in doing so.

Could anyone please show me an example of taking a DOM Document and then
traversing it, altering nodes in the tree as we go along.

Any help would be greatly appreciated.

Thank you in advance.

Yours Sincerely
Phillip Larsen

To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-users-help@xml.apache.org

View raw message