RE: variable dtd path

Subject: RE: variable dtd path
From: Kevin Williams <Kevin.Williams@xxxxxxxxxxxxxx>
Date: Wed, 28 Jun 2000 11:29:46 -0400
> -----Original Message-----
> From: Yasser El-Zein [mailto:xsl_list@xxxxxxxxxxx]
> Sent: Wednesday, June 28, 2000 10:32 AM

> I need not to hard code the full path of my dtd file. This 
> does not work:
> <!DOCTYPE tldoc SYSTYM "{$DTD_PATH}/tldoc.dtd"/>
> where {$DTD_PATH} is an enviroment, or command line, 
> variable. Is there a 
> work around?

It's off topic for this list, but one way you can do this is by using a
relative path:

<!DOCTYPE tldoc SYSTEM "dtds/tldoc.dtd">

will look for the DTD in a directory called "dtds" under the directory
containing the XML doc.

- Kevin

Kevin Williams
XML Architect, Ultraprise Corporation
Co-author: Professional XML, Wrox Press
Co-author: Professional ASP XML, Wrox Press
Co-author: ASP 3.0 Programmer's Reference, Wrox Press

 XSL-List info and archive:

Current Thread