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

Re: xsl:output help or building svg from xslt

Subject: Re: xsl:output help or building svg from xslt
From: "Steve Muench" <smuench@xxxxxxxxxxxxx>
Date: Tue, 5 Sep 2000 22:38:43 -0700
xsl output svg
Here's one that works for me:

  <xsl:output standalone="yes" doctype-system="svg-19990812.dtd"
             media-type="image/svg" indent="yes"/>

The indent is not required.

I'm using this in combination with the Oracle XSQL Pages
publishing framework which picks up the media-type from
the transforming stylesheet and sets it on the servlet output
stream. I found that earlier versions of the plug-in did
not like having the character-set information set along
with the mime type, so keep that in mind if you're doing
that as part of your servlet's response.

______________________________________________________________
Steve Muench, Lead XML Evangelist & Consulting Product Manager
BC4J & XSQL Servlet Development Teams, Oracle Rep to XSL WG
Author "Building Oracle XML Applications", O'Reilly
http://www.oreilly.com/catalog/orxmlapp/

----- Original Message ----- 
From: <Larry_Mason@xxxxxx>
To: <xsl-list@xxxxxxxxxxxxxxxx>
Sent: Tuesday, September 05, 2000 7:12 PM
Subject: xsl:output help or building svg from xslt


| 
| I need some assistance on the syntax for xsl:output to define the mime type
| of my resultant document which contains SVG.  If I save the result as a
| file with extension svg, the browser processes the document properly, ie
| invokes the Adobe plugin.  However, the same document as returned from my
| servlet (and not save to disk) simply displays as XML in IE5 not as a
| image.  From the w3c site, I believe the mime type is image/svg-xml.  My
| guess is to set the media-type in the xsl:ouput tag.  Anyone had success
| doing so?  I'm using XT.
| Cheers!
| Larry Mason
| --------------------------------------------------------------------------------------
| 
| Remember 2 wrongs don't make a right, but 3 lefts do.
| --------------------------------------------------------------------------------------
| 
| 
| 
| 
|  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
| 


 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.