[Home] [By Thread] [By Date] [Recent Entries]


nm, i figured it out ; )
..link tags below required the /> closing slash at the end.
 
-----Original Message-----
From: Karl Stubsjoen [mailto:karl@a...]
Sent: Tuesday, August 13, 2002 9:25 AM
To: Xml-Dev
Subject: Transform XML and Stylesheets

Hello,
 
In my VB app, I'm recieving 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.
 
In my stylesheet, there are 2 external style sheet references, here they are:
 
<xsl:template match="/">
  <HTML>
    <HEAD>
 <title>No Title</title>
 <link rel="stylesheet" href="default.css" type="text/css" media="all">
 <link rel="stylesheet" href="print.css" type="text/css" media="print">
...etc
 
I am using VB to transform my xml document using this stylesheet, however I'm not able to transform due to this error.  What is wrong with my style sheet references?
 
Thanks!
Karl

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member