I use this:
        
        TransformerFactory tf = TransformerFactory.newInstance();
        Transformer transformer=null;
        try {
            transformer = tf.newTransformer();
            transformer.transform(new DOMSource(svgDocument), new
StreamResult(os));
        } ...

where svgDocument is a SvgDocument and the transformer stuff comes from
javax.xml.transform, and os is an OutputStream.

-- 
View this message in context: 
http://www.nabble.com/save-into-a-file-tf2612562.html#a7327216
Sent from the Batik - Users mailing list archive at Nabble.com.


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

Reply via email to