Thanks for your solution..
http://blogs.kiyut.com/tonny/2007/08/23/how-to-convert-svg-string-to-svgdocument/
OR
http://xmlgraphics.apache.org/batik/using/dom-api.html#createdocfromsvgfile
and the solution works fine
But in the following code
String parser = XMLResourceDescriptor.getXMLParserClassName();
SAXSVGDocumentFactory f = new SAXSVGDocumentFactory(parser);
doc = f.createSVGDocument(uri,reader);I dont know if
createSVGDocument() function creates a file at uri--> the URL that we specified
____________________________________________________________________________________
Looking for a deal? Find great prices on flights and hotels with Yahoo!
FareChase.
http://farechase.yahoo.com/