dimanche 23 février 2014

ATTLIST and enumerations topic




Hi there,
I have an enumeration in a DTD which will be used at different places.

Minimal example:

<!ATTLIST mydoc
bla CDATA #REQUIRED
myenum (v1|vx|s|a) #IMPLIED>
....
<!ATTLIST comment
name CDATA #REQUIRED
myenum (v1|vx|s|a) #IMPLIED>

I don't want to have the enum list at different places in the DTD.

Is it possible to have an enumeraton defined in one place of a DTD and
refer to this in different ATTLIST statements?



--
Manfred





Aucun commentaire:

Enregistrer un commentaire