Hi Shamjith, Shamjith K V wrote:
Please tell me how to access the SVG DOM tree generated by batik, using java.
Are you asking about the SVGGraphics2D? If so, the short answer is 'Element SVGGraphics2D.getRoot()' (There is also a version of getRoot that takes the root element to append the generated tree to). Note that when you call 'getRoot' the SVGGraphics2D clear's it's self so 'stream' will do nothing, you will have to stream the Document out yourself. The longer answer is that you might want to review the recent thread: Basic SVG management in Batik with white-boarding http://mail-archives.apache.org/mod_mbox/xmlgraphics-batik-users/200509.mbox/[EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
