xsl-list
[Top] [All Lists]

RE: entity declaration error

2003-02-26 02:07:39
Hi,

Well, that's not my entire xsl file, just the top of it.
It compiles without the doctype line (I do have a end tag for the
xsl:stylesheet, I just didn't include all the xsl code).

Given that it compiles and runs fine without the doctype 
line, there is
something else wrong. The namespace declaration is declared as
xmlns="http://www.w3.org/1999/XSL/Transform";

[snip]

<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE xsl:stylesheet [ <!ENTITY nbsp "&#160;"> ]>
<xsl:stylesheet xmlns="http://www.w3.org/1999/XSL/Transform";
version="1.0">

You've bound the default namespace to the XSLT namespace, but you have no 
declaration for the prefix "xsl". Change 
xmlns="http://www.w3.org/1999/XSL/Transform"; to 
xmlns:xsl="http://www.w3.org/1999/XSL/Transform";, or remove the prefix from the 
stylesheet element.

Cheers,

Jarno - Real Synthetic Audio 2003-02-24 show


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



<Prev in Thread] Current Thread [Next in Thread>