php8.5
Home/ Manual/ xmlwriter / xmlwriter/ XMLWriter::startDtd

XMLWriter::startDtd

PHP function Edit on GitHub ✎

(PHP 5 >= 5.1.2, PHP 7, PHP 8, PECL xmlwriter >= 0.1.0)

Create start DTD tag

Description

Oop

XMLWriter::startDtd(string $qualifiedName, string|null $publicId = null, string|null $systemId = null): bool

Procedural

xmlwriter_start_dtd(XMLWriter $writer, string $qualifiedName, string|null $publicId = null, string|null $systemId = null): bool

Starts a DTD.

Parameters

qualifiedName

The qualified name of the document type to create.

publicId

The external subset public identifier.

systemId

The external subset system identifier.

Return Values

Success

Changelog

VersionDescription

See Also

  • XMLWriter::endDtd
  • XMLWriter::writeDtd

Source: reference/xmlwriter/xmlwriter/startdtd.xml · from the official PHP manual (php/doc-en)