>>>>> "Asfand" == Asfand Yar Qazi <im_not_giving_it_here@i_hate_spam.com> writes:
Asfand> Hi, Is it possible to 'include' a dtds from one dtd file into
Asfand> another dtd file?
Yes, at least fragments. For example, check Docbook dtd. I use similar for
a dtd that describes modelling data. The main dtd defines used
elements and then it includes .mod files that define entities to be used. For
example in the main dtd file:
<!ENTITY % IDMod PUBLIC
"-//UTA/ID stuff V0.0.1//EN"
"ID.mod">
%IDMod;
and in ID.mod file:
<!ENTITY ID "_Id">
(Ok, other files are bigger).
That way, I can change the entities (like the &ID; has changed from ID to id
to Id to _Id) without touching the .dtd file.
--
Arto V. Viitanen
av@cs.uta.fi
University of Tampere, Department of Computer Sciences
Tampere, Finland
http://www.cs.uta.fi/~av/