Hi Phil,

"Phil Wright" <[EMAIL PROTECTED]> wrote on 11/19/2006 03:48:54 PM:

> This was also helpful to me so my thanks as well.
> 
> Is there some way to get the output in a more human-readable format? 
(i.e., 
> not in one long unbroken line)

   You could run it through the SVG Pretty Printer:
        batik.transcoder.SVGTranscoder

> On 11/13/06, V. de Weger <[EMAIL PROTECTED]> wrote:
> 
> 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]

> 
> 
> 
> -- 
> Visit http://www.darkisle.com for photos of castles, cairns and other 
historic
> sites in the British Isles. 

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

Reply via email to