Home > PHP > Function > XMLWriter > XMLWriter::writeDTD()

XMLWriter::writeDTD()

XMLWriter::writeDTD - Write full DTD tag

Syntax

bool XMLWriter::writeDTD (string $name, string $publicId, string $systemId, string $subset, resource $xmlwriter, string $name, string $publicId, string $systemId, string $subset, string $name, string $publicId, string $systemId, string $subset, resource $xmlwriter, string $name, string $publicId, string $systemId, string $subset)

Arguments

  • name - Only for procedural calls. The XMLWriter resource that is being modified. This resource comes from a call to xmlwriter_open_uri() or xmlwriter_open_memory().
  • publicId - The DTD name.
  • systemId - The external subset public identifier.
  • subset - The external subset system identifier.
  • xmlwriter - The content of the DTD.
  • name
  • publicId
  • systemId
  • subset
  • name - Only for procedural calls. The XMLWriter resource that is being modified. This resource comes from a call to xmlwriter_open_uri() or xmlwriter_open_memory().
  • publicId - The DTD name.
  • systemId - The external subset public identifier.
  • subset - The external subset system identifier.
  • xmlwriter - The content of the DTD.
  • name
  • publicId
  • systemId
  • subset

Description

Object oriented style

Version

PHP 5.1.2, PECL xmlwriter >= 0.1.0

Return value

Returns TRUE on success or FALSE on failure.