XMLWRITER_WRITE_DTD(3) 1 XMLWRITER_WRITE_DTD(3)
XMLWriter::writeDTD - Write full DTD tag
Object oriented style
SYNOPSIS
bool XMLWriter::writeDTD (string $name, [string $publicId], [string $systemId], [string $subset])
DESCRIPTION
Procedural style
bool xmlwriter_write_dtd (resource $xmlwriter, string $name, [string $publicId], [string $systemId], [string $subset])
Writes a full DTD.
PARAMETERS
o $
xmlwriter -Only for procedural calls. The XMLWriter resource that is being modified. This resource comes from a call to xml-
writer_open_uri(3) or xmlwriter_open_memory(3).
o $name
- The DTD name.
o $publicId
- The external subset public identifier.
o $systemId
- The external subset system identifier.
o $subset
- The content of the DTD.
RETURN VALUES
Returns TRUE on success or FALSE on failure.
SEE ALSO
XMLWriter::startDTD, XMLWriter::endDTD.
PHP Documentation Group XMLWRITER_WRITE_DTD(3)