Linking DTD's

David Megginson david at megginson.com
Tue Apr 20 20:46:50 BST 1999


Campana, Sal writes:

 > Is it possible to nest DTD's?  I would like to build a DTD from smaller
 > DTD's...Is this possible?

Yes, but it's generally brittle -- about the same level of difficulty
as doing object-oriented programming in C or BASIC (or, to remove the
sexist part of an 18th-century quip, it's like a dog standing on its
hind legs: it's not done well, but it's quite astounding that it's
done at all).  You've got to use lots of parameter-entity trickery if
you want to be able to extend the content models of what you're
inheriting.

 > Can someone send me an example or a location which contains an example of
 > this...

Look at the full TEI DTDs.


All the best,


David

-- 
David Megginson                 david at megginson.com
           http://www.megginson.com/

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
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 at ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)




More information about the Xml-dev mailing list