Hi All,
Am finding difficult to get the dom for a svg file.    

Following sample code is workin fine for normal svg file
ie
 <svg>
.......
</svg>

    String parser = XMLResourceDescriptor.getXMLParserClassName();
    SAXSVGDocumentFactory f = new SAXSVGDocumentFactory(parser);
    String uri = "somefile.svg";
    Document doc = f.createDocument(uri);

But If the svg file contains other tags like
<svg>
    <segments>
   </segments>
........
</svg>
am gettin error........any help please reply soon

Thanks & regards
prad
-- 
View this message in context: 
http://www.nabble.com/getting-dom-from-svg-file-tf2120596.html#a5848619
Sent from the Batik - Users forum at Nabble.com.


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

Reply via email to