This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: SVG, no actual output
- From: Jarno dot Elovirta at nokia dot com
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Thu, 22 Aug 2002 09:07:59 +0300
- Subject: RE: [xsl] SVG, no actual output
- Reply-to: xsl-list at lists dot mulberrytech dot com
Hi,
> > ... err... you have an doctype declaration for SVG in you XSLT
> > stylesheet... err... why? If your XSLT processor validated the
> > stylesheet, this would result in an error.
>
> Took the example from da web. Using XalanC and it complaints about
> nothing.
Probably no XSLT processor tries to validate the stylesheet, but the example is still horribly wrong.
> > What's the mime-type of the document when you're returning
> it (from the
> > server?)? text/plain?
>
> When using IE on windows with svg-viewer plug-in it says that
> it is SVG Document.
>
> When using Mozilla 0.9.9 says that it is text/plain.
Then it's text/plain and is treated accordingly; change the Mime-type image/svg+xml or application/xml etc. so that Mozilla will process it as XML.
J
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list