xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Phil Wright" <pher...@gmail.com>
Subject Re: save into a file
Date Mon, 20 Nov 2006 07:27:59 GMT
Oh yeah.  I saw that in the docs.

Thanks,

     Phil


On 11/19/06, thomas.deweese@kodak.com <thomas.deweese@kodak.com> wrote:
>
> Hi Phil,
>
> "Phil Wright" <phergus@gmail.com> 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 <batik@beno-delft.nl> 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: batik-users-unsubscribe@xmlgraphics.apache.org
> > For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org
>
> >
> >
> >
> > --
> > Visit http://www.darkisle.com for photos of castles, cairns and other
> historic
> > sites in the British Isles.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: batik-users-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org
>
>


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

Mime
View raw message