Subject: RE: [xsl] An Error while XSLT parsing file's with entities From: David.Pawson@xxxxxxxxxxx Date: Thu, 20 Nov 2003 12:38:13 -0000 |
Gary said: 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? Similar experience, word2003, applying a stylesheet on save as XML. Tt denies that the xsl namespace is defined! This was also with a stylesheet with entities defined. regards DaveP *** snip here *** - DISCLAIMER: NOTICE: The information contained in this email and any attachments is confidential and may be privileged. If you are not the intended recipient you should not use, disclose, distribute or copy any of the content of it or of any attachment; you are requested to notify the sender immediately of your receipt of the email and then to delete it and any attachments from your system. RNIB endeavours to ensure that emails and any attachments generated by its staff are free from viruses or other contaminants. However, it cannot accept any responsibility for any such which are transmitted. We therefore recommend you scan all attachments. Please note that the statements and views expressed in this email and any attachments are those of the author and do not necessarily represent those of RNIB. RNIB Registered Charity Number: 226227 Website: http://www.rnib.org.uk XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] An Error while XSLT parsi, David Carlisle | Thread | RE: [xsl] An Error while XSLT parsi, David . Pawson |
[xsl] Re: Problems with entities, yguaba | Date | Re: [xsl] Accessing a variable defi, David Carlisle |
Month |