[
Lists Home |
Date Index |
Thread Index
]
- From: Richard Tobin <richard@cogsci.ed.ac.uk>
- To: xml-dev@lists.xml.org
- Date: Tue, 10 Oct 2000 14:30:13 +0100 (BST)
Allen Chang <allen@dejima.com> wrote:
><!DOCTYPE CASE SYSTEM "case.dtd">
>
>Is there a way to put
>case.dtd somewhere in my computer, but NOT in the current directory, and
>tell the XML parser to go there to get it?
The system identifier - eg case.dtd - is interpreted as a URI relative
to the URI of the containing entity (in this case, the XML file
itself). So you should be able to say things like:
<!DOCTYPE CASE SYSTEM "dtd/case.dtd">
<!DOCTYPE CASE SYSTEM "../misc/case.dtd">
and perhaps
<!DOCTYPE CASE SYSTEM "/home/allen/case.dtd">
-- Richard
|