<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META content="MSHTML 5.00.2919.6307" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN class=436413114-23072000>Sure,
just use entities in the DTD. Create DTD's for the shared parts and then
declare the entities so that they read from the file system. The hard part
is when the structure isn't quite the same between shared uses.
</SPAN></FONT></DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN
class=436413114-23072000></SPAN></FONT> </DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN
class=436413114-23072000>(untested) example</SPAN></FONT></DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN
class=436413114-23072000></SPAN></FONT> </DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN
class=436413114-23072000><!ENTITY % employee.dtd SYSTEM
"employee.dtd"><BR><!ENTITY % client.dtd SYSTEM
"client.dtd"></SPAN></FONT></DIV>
<DIV> </DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN
class=436413114-23072000><!ELEMENT timesheet
(dailyTotal+,employee,client+)><BR><!ATTLIST timesheet
<BR> periodEndDate CDATA
#IMPLIED<BR>><BR>%employee.dtd;<BR>%client.dtd;</SPAN></FONT></DIV>
<DIV> </DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN
class=436413114-23072000></SPAN></FONT> </DIV>
<BLOCKQUOTE
style="BORDER-LEFT: #0000ff 2px solid; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px; PADDING-LEFT: 5px">
<DIV align=left class=OutlookMessageHeader dir=ltr><FONT face=Tahoma
size=2> </DIV></FONT>
<DIV><FONT face=Arial size=2>Does anyone know if a DTD can reference another
DTD? I have an application where there would be common elements across a
number of DTDs. I'd like to have the equivalent of an include command to
reference another DTD.</FONT></DIV>
<DIV> </DIV></BLOCKQUOTE></BODY></HTML>