Hi Thomas,

> Calling 'getRoot' appends the contents of the SVGGraphics2D 
> to the given Element and clears the SVGGraphics2D for further 
> drawing.  I suspect it will work as desired if you simply remove 
> this line of code. 

Still i am not able to export the svg file properly. I am getting only the
following code.

<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE svg PUBLIC '-//W3C//DTD SVG 1.0//EN'
          'http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd'>
<svg style="stroke-dasharray:none; shape-rendering:auto;
font-family:&apos;Dialog&apos;; text-rendering:auto; fill-opacity:1;
color-rendering:auto; color-interpolation:auto; font-size:12; fill:black;
stroke:black; image-rendering:auto; stroke-miterlimit:10;
stroke-linecap:square; stroke-linejoin:miter; font-style:normal;
stroke-width:1; stroke-dashoffset:0; font-weight:normal; stroke-opacity:1;"
xmlns="http://www.w3.org/2000/svg"; width="1019"
contentScriptType="text/ecmascript" preserveAspectRatio="xMidYMid meet"
xmlns:xlink="http://www.w3.org/1999/xlink"; zoomAndPan="magnify"
version="1.0" contentStyleType="text/css" height="663"
><!--Generated by the Batik Graphics2D SVG Generator--><defs
id="genericDefs"/>
<g/>
</svg>

Thanks,
Sudhakar


-- 
View this message in context: 
http://www.nabble.com/Exporting-to-SVG-problem-tf2013573.html#a5594889
Sent from the Batik - Users forum at Nabble.com.


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

Reply via email to