Hi,

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 =
XMLResourceDescriptor.getXMLParserClassName();
            SAXSVGDocumentFactory f = new SAXSVGDocumentFactory(parser);
            doc = f.createSVGDocument(url);

Regards
Tonny Kohar
-- 
Sketsa 
SVG Graphics Editor
http://www.kiyut.com


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to