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
|