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

RE: [xsl] problems caused by DOCTYPE


Subject: RE: [xsl] problems caused by DOCTYPE
From: "Passin, Tom" <tpassin@xxxxxxxxxxxx>
Date: Thu, 13 May 2004 16:07:22 -0400

> From: Chris Loschen [mailto:closchen@xxxxxxxxxxxxxxxxxx] 

> The SYSTEM keyword indicates a system pathname, so it needs 
> to represent where the DTD can actually be found -- XSLT is 
> just following the XML spec here. You can satisfy the requirement by:
> 
> 1. having a copy of the DTD in the working directory as you 
> did 2. having the SYSTEM key represent an actual path to 
> where the DTD is, for example, H:\projects\dtd\mga.dtd or the 
> like -- however, beware because you're now stuck with a 
> particular file-naming convention, so your colleagues who use 
> a different OS like Linux would have to change the SYSTEM to 
> a filename they can read. 

I would add that it is OK to use a relative path for the location of the
DTD.  A relative path can be very useful, because someone else can get
your package to work by using the same relative directory structure, not
needed the exact same absolute path.

Cheers,

Tom P


Current Thread
Keywords