Class DocumentType

XML DOM DocumentType Interface.

The DOM level 2 does not specify how to interact with the DTD, hence has not been implemented other than the wrapper for external DTD definitions, the generated internal subset will always be empty for now.

See the DocumentType and Node interfaces.

Tables

DocumentType.properties Properties of the DocumentType class, beyond the Node class

Methods

DocumentType:write (buffer) exports the XML.


Tables

DocumentType.properties
Properties of the DocumentType class, beyond the Node class

Fields:

  • name the DTD name (readonly)
  • entities NamedNodeMap of entities (readonly) - not implemented
  • notations NamedNodeMap of notations (readonly) - not implemented
  • publicId (string) the PI publicId (readonly)
  • systemId (string) the PI systemId (readonly)
  • internalSubset (string) the PI internalSubset (readonly) - not implemented

Methods

DocumentType:write (buffer)
exports the XML.

Parameters:

  • buffer array an array to which the chunks can be added.

Returns:

    the buffer array
generated by LDoc 1.4.6 Last updated 2022-04-22 13:38:32