Internal AND external doctypes

admin

Administrator
Staff member
Is it possible to have a doctype that has both internal element/attribute references and links to an outside DTD?

Here's the doctype:

<!DOCTYPE cast SYSTEM "http://mrinitialman.furtopia.org/MarkUp/CastML.dtd" [
<!ELEMENT fights (fight+)>
<!ATTLIST fights
tournament CDATA #REQUIRED
>
<!ELEMENT fight EMPTY>
<!ATTLIST fight
opponent CDATA #REQUIRED
result CDATA #REQUIRED
>
]>

The elements "fights" and "fight" occur ONLY in one file, nowhere's else. How would I do it?
 
Back
Top