You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-users@xmlgraphics.apache.org by Thomas DeWeese <Th...@Kodak.com> on 2003/07/30 01:46:43 UTC

Re: Problems saving and showing a SVGDocument

Hi Marcelo,

Marcelo Gilman wrote:
> 
> 
> I am experimenting problems when trying to save and then show an 
> SVGDocument. The code I am using is included below. If I do not save it, 
> then the graphic is shown and if I save it (as in the included code) the 
> graphic is not shown (a white frame appears).

    I think that the stream is changing what getRoot is returning.
I would suggest calling getRoot() and calling XmlWriter
yourself directly with the returned element (you might
take a look at what stream is doing as it does do some
nice stuff for you but most of it's functionality is in
XmlWriter).




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