[xsl] DOCTYPE in the XSL file

Subject: [xsl] DOCTYPE in the XSL file
From: Niclas Hedhman <niclas@xxxxxxxxxxx>
Date: Sun, 5 Dec 2004 01:11:50 +0800
Hi,

I have soaked up the docbook XSL package from docbook.sf.net, and trying to 
integrate that into an Ant extension (build system).

In there, they use <!DOCTYPE> in some of the XSL files, to declare ENTITYs 
only. The transformer (tried both an older xalan and the latest Saxon) then 
signals an Error for every single <xsl: > element that it encounters in the 
XSL file, for instance;

[Error] inline.xsl:1125:45: Element type "xsl:call-template" must be declared.


Does anyone know how to get around this problem? 

Thanks in advance.

Cheers
Niclas
-- 
   +------//-------------------+
  / http://www.dpml.net       /
 / http://niclas.hedhman.org / 
+------//-------------------+

Current Thread