[Home] [By Thread] [By Date] [Recent Entries]

  • From: David Megginson <david@m...>
  • To: "'xml-dev@i...'" <xml-dev@i...>
  • Date: Thu, 20 May 1999 12:59:48 -0400 (EDT)

Robert Maher writes:

 > Can anyone tell me how to 'register' DTD's
 > where do you save them to so that when you write
 > <... SYSTEM "blah.dtd"> in your xml file it recognises it?

In XML, the system identifier is a URI.  If blah.dtd is in the same
directory as the top-level document entity (the XML file, in normal
talk), then the parser will probably find it.  In many cases, people
use absolute URIs like

  http://www.foo.com/dtds/blah.dtd

So that the DTD can always be found from any machine, though that
might force a lot of HTTP GETs, depending on your redirection and
caching mechanisms.


All the best,


David

-- 
David Megginson                 david@m...
           http://www.megginson.com/

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i...
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To (un)subscribe, mailto:majordomo@i... the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@i... the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@i...)


  • References:
    • DTD's
      • From: Robert Maher <robert.maher@t...>
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member