This is how I load an SVG
URI uri = new URI("[SOME URI]");
String parser = XMLResourceDescriptor.getXMLParserClassName();
SAXSVGDocumentFactory sax = new SAXSVGDocumentFactory(parser);
SVGDocument doc = sax.createSVGDocument(uri.toString());
plb
-----Original Message-----
From: javaNoob [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 10, 2007 11:43 AM
To: [email protected]
Subject: RE: load & save using servlet
ok.. i think i missed something.. i converted the string to a document
and then applied a SVGDocument type-cast to it.. is it automatically a
SVGDocument? i am getting an error when i call doc.getRootElement()
--
View this message in context:
http://www.nabble.com/load---save-using-servlet-tf4011429.html#a11524620
Sent from the Batik - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]