what is the difference between these methods?
DOMImplementation impl = SVGDOMImplementation.getDOMImplementation();
String svgNS = SVGDOMImplementation.SVG_NAMESPACE_URI;
Document doc = impl.createDocument(svgNS, "svg", null);
and
try {
String parser = XMLResourceDescriptor.getXMLParserClassName();
SAXSVGDocumentFactory f = new SAXSVGDocumentFactory(parser);
String uri = "http://...";
Document doc = f.createDocument(uri);
} catch (IOException ex)
if i must to load i svgfile and then i want to add new shape(rect,circle
ecc) to loaded file, what method to use?
--
View this message in context:
http://www.nabble.com/what-is-the-difference--tf2602076.html#a7259343
Sent from the Batik - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]