XMLWriter::writeDTDElement

Writes a full DTD element

public function writeDTDElement(
  string $name,
  string $content,
): bool;

Parameters

  • string $name - The name of the DTD element.
  • string $content - The content of the element.

Returns

  • bool - - Returns TRUE on success or FALSE on failure.