[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: [xsl] Saxon -> UnknownHostException


Subject: RE: [xsl] Saxon -> UnknownHostException
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Wed, 25 May 2005 16:40:23 +0100

> How can I tell Saxon to use a dtd generally for all my 
> xml-file (though they even have a dtd)?

Saxon isn't interested in the DTD - it's the XML parser whose behaviour you
need to influence, not Saxon's behaviour. For example, you may want to
supply your own EntityResolver. You can check whether your chosen XML parser
allows you to set the relevant options using Java system properties; if not,
you have to write a bit of Java code that supplies Saxon with a StreamSource
containing an XML parser that has already been configured with the
appropriate options. Alternatively, edit your source files to
include/exclude a reference to the DTD as appropriate.

Michael Kay
http://www.saxonica.com/


Current Thread
Keywords
xml