This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: IE Error Message
- From: "Stuart Celarier" <stuart at ferncrk dot com>
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Mon, 13 May 2002 15:42:34 -0700
- Subject: RE: [xsl] IE Error Message
- Reply-to: xsl-list at lists dot mulberrytech dot com
Try loading your stylesheet in IE to verify that it is well-formed. If
it is not, IE will report what line is in error.
Cheers,
Stuart
-----Original Message-----
From: owner-xsl-list@lists.mulberrytech.com
[mailto:owner-xsl-list@lists.mulberrytech.com] On Behalf Of Joel
Konkle-Parker
Sent: Monday, May 13, 2002 15:00
To: XSL-List
Subject: [xsl] IE Error Message
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
When I try to view my XML document in IE6, I get the following error:
"The stylesheet does not contain a document element. The stylesheet
may be empty, or it may not be a well-formed XML document."
The first part of my XSL document is:
<?xml version="1.0"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method = "xml" doctype-public = "-//W3C//DTD XHTML
1.1//EN" doctype-system =
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"/>
<xsl:template match="article">
<?xml version="1.0"?>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<meta name="description" content="{description}"/>
<meta name="keywords" content="{keywords}"/>
...
What does this error message mean, and how do I fix it?
- -joeljkp
- ---------------------------------------
http://www.ballsome.com
-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 7.0.3 for non-commercial use <http://www.pgp.com>
iQA/AwUBPOA3aX880CLOJa2eEQJWxQCggonLxVmSMOCW+l4q1oHduitmCsMAnigS
UN1qxpJJs6FVrdDYfAq4yuxx
=kaEn
-----END PGP SIGNATURE-----
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list