RE: [xsl] entity declaration error

Subject: RE: [xsl] entity declaration error
From: Jarno.Elovirta@xxxxxxxxx
Date: Wed, 26 Feb 2003 11:07:39 +0200

> 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="";


> > <?xml version="1.0" encoding="utf-8"?>
> > <!DOCTYPE xsl:stylesheet [ <!ENTITY nbsp "&#160;"> ]>
> > <xsl:stylesheet xmlns="";
> > version="1.0">

You've bound the default namespace to the XSLT namespace, but you have no declaration for the prefix "xsl". Change xmlns=""; to xmlns:xsl="";, or remove the prefix from the stylesheet element.


Jarno - Real Synthetic Audio 2003-02-24 show

 XSL-List info and archive:

Current Thread