Gets the name of the DTD.
Sets the name of the DTD.
Gets the public identifier of the DTD.
Sets the public identifier of the DTD.
Gets the system identifier of the DTD.
Sets the system identifier of the DTD.
Appends the XML string representation of a public or system identifier to an existing string.
Adds an attribute-list declaration to this document type declaration and returns the new attribute-list declaration.
Adds a comment to this document type declaration and returns the new comment.
Adds an element declaration to this document type declaration and returns the new element declaration.
Adds an entity declaration to this document type declaration and returns the new entity declaration.
Adds a notation declaration to this document type declaration and returns the new notation declaration.
Adds a parameter entity reference to this document type declaration and returns the new parameter entity reference.
Adds a processing instruction to this document type declaration and returns the new processing instruction.
Returns an XML string representation of this document type declaration.
Returns the parent of this attribute.
Generated using TypeDoc
Represents an XML document type definition (DTD).
A document type definition is structured as follows, where
{name}
is the name of the DTD,{sysId}
is the system identifier of the DTD,{pubId}
is the public identifier of the DTD, and{intSubset}
is the internal subset of the DTD:<!DOCTYPE {name} SYSTEM "{sysId}" PUBLIC "{pubId}" [ {intSubset} ]>
DTDs can have an unlimited number of comments, attribute-list declarations, element declarations, entity declarations, notation declarations, parameter entity references, and processing instructions.