This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: SVG, no actual output


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]