Bishop, Michael W. CONTR J9C880 wrote:
For saving and loading, I've managed to write the file properly. I've also managed to load the XML as a Document, but I can't cast it to an SVGDocument. How do I get an SVGDocument in memory that I can then set on the JSVGCanvas?
Use the class 'batik.dom.svg.SAXSVGDocumentFactory' It should be fairly strait forward. Also you could just set the URL of the document on the JSVGCanvas directly (there is a callback when the document is loaded where you could manipulate it a bit). --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
