OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   RE: [xml-dev] Transform XML and Stylesheets

[ Lists Home | Date Index | Thread Index ]

nm, i figured it out ; )
..link tags below required the /> closing slash at the end.
 
-----Original Message-----
From: Karl Stubsjoen [mailto:karl@azprogolf.com]
Sent: Tuesday, August 13, 2002 9:25 AM
To: Xml-Dev
Subject: [xml-dev] 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




 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS