[Home] [By Thread] [By Date] [Recent Entries]
Allen Chang <allen@d...> 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
|

Cart



