Options
All
  • Public
  • Public/Protected
  • All
Menu

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

Implemented by

Index

Properties

Properties

Optional include

include: undefined | false | true

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

Optional name

name: undefined | string

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

Optional pubId

pubId: undefined | 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.

Optional sysId

sysId: undefined | string

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

Generated using TypeDoc