Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Exporting SVG (Read 1557 times)
choohj70
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 77
Joined: Sep 23rd, 2008
Exporting SVG
Apr 12th, 2010 at 4:45pm
Print Post  
Stoyan,

When I try to export out to an SVG file, I am getting not only the SVG section but a rendering of the webpage that the Applet is part of.

This is what it looks like when I view that SVG file from a text editor.

<?xml version="1.0"?>
<svg xmlns="http://www.w3.org/2000/svg" version="1.1" width="1000px" height="800px" viewBox="0 0 1000 800" preserveAspectRatio="none" xmlns:xlink="http://www.w3.org/1999/xlink">
  <defs>
  </defs>
  SVG CONTENT
</svg>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><title>
TITLE CONTENT INCLUDING .JS
</title>
<body>
<form>
RENDERING OF THE WHOLE WEB PAGE
</form>
</body>
</html>
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Exporting SVG
Reply #1 - Apr 12th, 2010 at 5:49pm
Print Post  
SvgExporter does not know anything about the page. Are you sending this Svg file to the browser using Response.OutputStream? The page might continue rendering html after the event handler that writes the Svg runs, appending the output to the Svg.
  
Back to top
 
IP Logged
 
choohj70
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 77
Joined: Sep 23rd, 2008
Re: Exporting SVG
Reply #2 - Apr 13th, 2010 at 2:35am
Print Post  
You are absolutely correct. Thank you.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint