xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John Greene <j...@rpiwireless.com>
Subject Re: SVGDocument to document.svg --- HOW?
Date Sat, 09 Aug 2003 23:34:21 GMT
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
  <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1">
<body text="#000000" bgcolor="#ffffff">
John Greene wrote:
<blockquote type="cite" cite="mid3F34FD70.7040300@Kodak.com"><font
 face="Times New Roman, Times, serif"></font>
  <blockquote type="cite"><font face="Times New Roman, Times, serif">I
have an object of class SVGDocument.
I want to stream it to a file.
How do you turn an SVGDocument object into an SVG file?
(no joy with SVGGraphics2D so far.)
  <font face="Times New Roman, Times, serif"><br>
Hi John,
&nbsp;&nbsp; Check out batik.dom.util.XMLUtilities.writeNode
or batik.svggen.XMLWriter
<font face="Times New Roman, Times, serif">I'm using Batik-1.5 <br>
I see no <b>XMLUtilities</b> class in the <b>org.apache.batik.dom.util</b>
(There's a<b> DOMUtilities</b> class, with a <b>writeDocument</b>
method (and a <b>writeNode</b> method which I have yet to experiment
with), which generated some code that looked nice but the Squiggle
viewer refused to accept so I suppose it was invalid SVG).<br>
I also see no <b>XMLWriter</b> class in </font><font
 face="Times New Roman, Times, serif">my <b>org.apache.batik.svggen</b>
What library are you using?<br>
</font><font face="Times New Roman, Times, serif"><br>

To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-users-help@xml.apache.org

View raw message