(bug 19528) Revert 55749: "according to the XSLT 1.0 spec, the MIME type should be...
[lhc/web/wiklou.git] / includes / api / ApiFormatXml.php
index e65a2bb..f4342a4 100644 (file)
@@ -173,7 +173,7 @@ class ApiFormatXml extends ApiFormatBase {
                        $this->setWarning( 'Stylesheet should have .xsl extension.' );
                        return;
                }
-               $this->printText( '<?xml-stylesheet href="' . $nt->escapeLocalURL( 'action=raw' ) . '" type="text/xml" ?>' );
+               $this->printText( '<?xml-stylesheet href="' . $nt->escapeLocalURL( 'action=raw' ) . '" type="text/xsl" ?>' );
        }
        
        public function getAllowedParams() {