xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tonny Kohar <to...@kiyut.com>
Subject Re: How to load an exisitng SVG on the Server side (Building DOM of an exisiting SVG)
Date Fri, 10 Feb 2006 01:46:05 GMT

On Thu, 2006-02-09 at 16:26 +0530, Dwarakanath, Guruprasad wrote:

> I want to know how we load an existing SVG document on server side. I
> have an applet which creates SVG and stores it on to the server side
> (through a servlet). Then later, a server side program should load
> this saved SVG and then add some graphics to this file.
> Which class I need to use in order to build the DOM on the server
> side?

It is something like

String url = file.toURI().toString();
            String parser =
            SAXSVGDocumentFactory f = new SAXSVGDocumentFactory(parser);
            doc = f.createSVGDocument(url);

Tonny Kohar
SVG Graphics Editor

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

View raw message