XMLWriter Funkcje
PHP Manual

XMLWriter::writeDTD

(No version information available, might be only in CVS)

XMLWriter::writeDTDWrite full DTD tag

Opis

Object oriented style:

XMLWriter
bool writeDTD ( string $name [, string $publicId [, string $systemId [, string $subset ]]] )

Procedural style:

bool xmlwriter_write_dtd ( resource $xmlwriter , string $name [, string $publicId [, string $systemId [, string $subset ]]] )

Writes a full DTD.

Parametry

xmlwriter

Jedynie dla wywołań proceduralnych. Zasób XMLWriter, który jest modfikowany. Ten zasób pochodzi, z wywołania funkcji xmlwriter_open_uri() lub xmlwriter_open_memory().

name

The DTD name.

publicId

The external subset public identifier.

systemId

The external subset system identifier.

subset

The content of the DTD.

Zwracane wartości

Zwraca TRUE w przypadku powodzenia, FALSE w przypadku błędu.

Patrz także


XMLWriter Funkcje
PHP Manual