← All docs

xmlwriter_write_dtd_element()

Writes a complete DTD element declaration.

xmlwriter_write_dtd_element()

function xmlwriter_write_dtd_element(mixed $writer, string $name, string $content): bool

Writes a complete DTD element declaration.

Parameters:

  • $writer (mixed)
  • $name (string)
  • $content (string)

Returns: bool

Availability

No examples yet — check examples/ and showcases/ for usage patterns.

Internals

For how xmlwriter_write_dtd_element is implemented in the compiler, see the internals page.