RE: [xsl] external DTD w/ saxon 7.5

Subject: RE: [xsl] external DTD w/ saxon 7.5
From: "Michael Kay" <mhk@xxxxxxxxx>
Date: Fri, 9 May 2003 13:40:28 +0100
> I use saxon 7.5 under WinXP to process xslt2
> Here is a sample doc
> 	<?xml version='1.0' encoding='ISO-8859-1'?>
> 	<!DOCTYPE doc SYSTEM "c:/documents/dml/dml.DTD" >
> 	<doc>
> 		text
> 		&biblio;
> 	</doc>
> processing is aborted because c:/documents/dml/dml.DTD cannot 
> be found. 

You need to use a URI, not a filename. Use

Some vendors allow you to use a filename in place of a URI, but there is
no justification for this in the standards.

Michael Kay

 XSL-List info and archive:

Current Thread