XMLWriter::writeDtd
PHP function
Edit on GitHub ✎
(PHP 5 >= 5.1.2, PHP 7, PHP 8, PECL xmlwriter >= 0.1.0)
Write full DTD tag
Description
Oop
XMLWriter::writeDtd(string $name, string|null $publicId = null, string|null $systemId = null, string|null $content = null): bool
Procedural
xmlwriter_write_dtd(XMLWriter $writer, string $name, string|null $publicId = null, string|null $systemId = null, string|null $content = null): bool
Writes a full DTD.
Parameters
nameThe DTD name.
publicIdThe external subset public identifier.
systemIdThe external subset system identifier.
contentThe content of the DTD.
Return Values
Success
Changelog
| Version | Description |
|---|
See Also
XMLWriter::startDtdXMLWriter::endDtd