xsl-list
[Top] [All Lists]

RE: external DTD w/ saxon 7.5

2003-05-09 05:40:28
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
file:///c:/documents/dml/dml.DTD.

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:  http://www.mulberrytech.com/xsl/xsl-list



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