|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: SVG, no actual output
> > > > ... 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. > I tried to change mime-type by: <xsl:output method="xml" media-type="application/xml"/> <xsl:output method="xml" media-type="image/svg+xml"/> <xsl:output method="xml" media-type="image/svg-xml"/> And still the output is svg code. Jarkko **************************************************************** Jarkko Moilanen "Erehtyminen on inhimillista, Researcher/ ITCM mutta todella suuret mokat jm60697@xxxxxx vaativat tietokoneen käyttöä." www.uta.fi/~jm60697 GSM: +358 50 3766 927 **************************************************************** * ITCM | Information Technology and Crisis Management * http://www.itcm.org **************************************************************** XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








