xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "V. de Weger" <ba...@beno-delft.nl>
Subject Re: save into a file
Date Mon, 13 Nov 2006 22:25:09 GMT

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: batik-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org


Mime
View raw message