[xsl] An Error while XSLT parsing file's with entities

Subject: [xsl] An Error while XSLT parsing file's with entities
From: Gary Cornelius <gary.cornelius@xxxxxxxxxxxxxxx>
Date: Thu, 20 Nov 2003 12:22:15 +0000
Hi Guys,

With some of the MSXML tools I am using while processing I always get errors
of the type...

"  Error parsing File:
   The element 'xsl:stylesheet' is used but not declared in DTD/Schema. "

This appears to only happen on files where I'm using entities such as...

<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE xsl:stylesheet [
    <!ENTITY % winansi SYSTEM "winansi.ent">
    %winansi;
    <!ENTITY test '
        <xsl:with-param name="test" select="'test'"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"/>
    '>
]>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform";>
    <!--  Templates here -->
</xsl:stylesheet>

I would really appreciate if anyone can confirm my stylesheet is OK, or
knows what may cause this problem in processing?

Many thanks for any help in Advance!

Gary

--

+-----------------+------------------+
|  Gary Cornelius |  Web Programmer  |
+-----------------+------------------+
|   gary.cornelius@xxxxxxxxxxxxxxx   |
|     Future Publishing, Floor 1     |
|    Internet Services Department,   |
|      Kingsmead Square, Bath.       |
|            Ext. 2118               |
+------------------------------------+


This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to which they are addressed. If you have received this email in error please reply to this email and then delete it. Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of Future. 

The recipient should check this email and any attachments for the presence of viruses. Future accepts no liability for any damage caused by any virus transmitted by this email. 

Future may regularly and randomly monitor outgoing and incoming emails and other telecommunications on its email and telecommunications systems. By replying to this email you give your consent to such monitoring.

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread