XMLWriter::writeDtd

xmlwriter_write_dtd

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

XMLWriter::writeDtd -- xmlwriter_write_dtdWrite full DTD tag

˵��

���������

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

���̻����

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

Writes a full DTD.

����

xmlwriter

�����ڹ��̵��á����޸ĵ� XMLWriter resource������Դ�����ڶ� xmlwriter_open_uri() �� 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.

����ֵ

�ɹ�ʱ���� TRUE�� ������ʧ��ʱ���� FALSE��

�μ�