I have a file called commondata.dtd which contains the following element to
be shared by various dtd files (e.g. clients.dtd, vendors.dtd, etc.). That
is, I would like to include this dtd in another dtd file so I can use it in
<!-- commondata.dtd -->
<!ELEMENT COMMONDATA (Name,Address)>
<!ELEMENT Name (#PCDATA)>
<!ELEMENT Address (#PCDATA)>
In my clients.dtd file, I have to define an element that would be of type
COMMONDATA. So, I tried using ENTITY shown below but it doesn't work. I
keep getting error during validation for the last line. What am I doing
<!-- clients.dtd -->
<!ENTITY % commondata SYSTEM "commondata.dtd"
<!ELEMENT Clients (cList*)>
<!ELEMENT cList %commondata;>
Any help is greatly appreciated!