[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Displaying SVG

Subject: Displaying SVG
From: Gert Bultman <g.w.bultman@xxxxxxxxxxxxxx>
Date: Fri, 25 Aug 2000 15:29:06 +0000
displaying svg
I've slightly altered Michael Kay's examples from Appendix A in his
(excellent) XSLT book to run a stylesheet which produces SVG. I have
IE5.5 with the necessary plugin, and when I load an SVG file it displays
properly. However, when I want to display the generated svg in a new
window, the window stays blank, even though I specify the mime-type
(code from the Voodoo manual):

  svg= open("demo.svg", "displayWindow",
"width=500,height=400,status=yes,toolbar=yes,menubar=yes");
  svg.document.open("image/svg-xml");
  svg.document.writeln(strResult)
  svg.document.close();


I chose to open a new window, because displaying the svg in the
DIV.innerhtml won't work at all. The plugin doesn't recognize it.
The best solution would be proper inline svg, but I don't think any
browser supports it. 

If I specify the mime-type text/plain, the svg code display as text, as
expected.
Any suggestions?

Gert Bultman
Delft Technical University
Computer Graphics Dept.
The Netherlands


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.