[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: How Do I Tell the Parser Where DTD Is
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|