Hi there, I'm struggling with writing a DTD for an existing XML document.
Essentially, the set <value> is used as a subset several times throughout the document. In some instances, <value> could contain further subsets, or it could contain #PCDATA.
In trying to define this in the DTD I'm finding errors when I use: <!ELEMENT value (#PCDATA, delEcsmC?, delEcsmT?......)>
or: <!ELEMENT value (#PCDATA | delEcsmC?, delEcsmT?......)>
Can anyone help me with what the entry to the DTD should look like? many thanks
Essentially, the set <value> is used as a subset several times throughout the document. In some instances, <value> could contain further subsets, or it could contain #PCDATA.
In trying to define this in the DTD I'm finding errors when I use: <!ELEMENT value (#PCDATA, delEcsmC?, delEcsmT?......)>
or: <!ELEMENT value (#PCDATA | delEcsmC?, delEcsmT?......)>
Can anyone help me with what the entry to the DTD should look like? many thanks