Interface IDtdOptions

The options associated with the XML document type definition (DTD). An example of a DTD is as follows:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

Hierarchy

  • IDtdOptions

Properties

include?: boolean

Whether to include a DTD in the generated XML. By default, no DTD is included.

name?: string

The name of the DTD. This value cannot be left undefined if include is true.

pubId?: string

The public identifier of the DTD, excluding quotation marks. If a public identifier is provided, a system identifier must be provided as well. By default, no public identifier is included.

sysId?: string

The system identifier of the DTD, excluding quotation marks. By default, no system identifier is included.

Generated using TypeDoc