-----------------------------------
public static void writeSVGFile(){
SVGDocument document=Public.uIMan.getActiveViewer().getSVGDoc();
File file=new File("c:/a2/eatme.svg");
try{
FileWriter writer=new FileWriter(file);
DOMUtilities.writeDocument(document,writer);
writer.flush();
writer.close(); }catch(Exception e){System.out.println(e);}}
--------------------------------------
NOTE: Don't forget the flush and close otherwise the writer will leave off the end of your document (and your viewer will choke).
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]