Options
All
  • Public
  • Public/Protected
  • All
Menu

Class XmlDtd<Parent>

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.

Type parameters

  • Parent

Hierarchy

  • XmlDtd

Index

Constructors

constructor

Accessors

name

  • get name(): string
  • set name(name: string): void

pubId

  • get pubId(): undefined | string
  • set pubId(pubId: undefined | string): void
  • Gets the public identifier of the DTD.

    Returns undefined | string

  • Sets the public identifier of the DTD.

    Parameters

    • pubId: undefined | string

    Returns void

sysId

  • get sysId(): undefined | string
  • set sysId(sysId: undefined | string): void
  • Gets the system identifier of the DTD.

    Returns undefined | string

  • Sets the system identifier of the DTD.

    Parameters

    • sysId: undefined | string

    Returns void

Methods

attlist

comment

element

entity

notation

paramEntityRef

procInst

toString

up

  • up(): Parent

Generated using TypeDoc