[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: An XSLT stylesheet does not have an XML mimetype

Subject: Re: An XSLT stylesheet does not have an XML mimetype
From: Anton Triest <anton@xxxxxxxx>
Date: Thu, 07 Oct 2004 10:25:57 +0200
xml mimetype
I don't know if this could cause an error, but shouldn't encoding="ISO_8859-1" be "ISO-8859-1"?

I tried it out in IE6 and Mozilla Firefox, they seem to ignore this; Saxon says:
"Failed to load ISO_8859-1" (but it does generate an output file).


Anton


raven wrote:


Greetings. I have created a set of documents that when
I call them in Internet Explorer, they work fine, but
when I call them in Netscape, I receive "Error loading
stylesheet: An XSLT stylesheet does not have an XML
mimetype."


The top lines of my XML code read as follows:

<?xml version="1.0" encoding="ISO_8859-1"?>
<?xml-stylesheet type="text/xsl" href="about.xsl" ?>

xml code . . .

The top lines of about.xsl are:

<xsl:stylesheet
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
<xsl:output method="html" encoding="ISO_8859-1" />

What must I modify to get this to work in
Netscape/Mozilla?


Thank you.

ra5en

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.