This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: variable dtd path


> -----Original Message-----
> From: Yasser El-Zein [mailto:xsl_list@hotmail.com]
> 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:  http://www.mulberrytech.com/xsl/xsl-list

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]