|
|||||
Public identifiers at the start of the DTD | |||||
Prerequisite Concepts | Related Syntax |
An external identifier (public identifier and/or system identifier) is allowed following the keyword PUBLIC immediately following the keyword DOCTYPE and the document element name. This public identifier, when present, identifies an entity containing declarations to be included following those in the DOCTYPE declaration.
The OmniMark programmer's entity manager can provide the text (that is, the declarations) of this entity using an external-text-entity
rule. The keyword #dtd
is used to identify this entity.
It sometimes happens that the external identifier at the head of a DTD has neither a system identifier nor a public identifier. In this case, it may be appropriate for an OmniMark program to use the name of the document element to find the entity to which it is being implicitly referred.
The entity is #dtd
test can be used to determine whether the entity is the #dtd
entity.
Prerequisite Concepts Entities Entity managers: programmer-defined Public identifiers: processing |
Related Syntax #dtd external-text-entity |
---- |