XMLWriter::startAttribute

xmlwriter_start_attribute

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

XMLWriter::startAttribute -- xmlwriter_start_attributeCreate start attribute

˵��

���������

XMLWriter::startAttribute ( string $name ) : bool

���̻����

xmlwriter_start_attribute ( resource $xmlwriter , string $name ) : bool

Starts an attribute.

����

xmlwriter

�����ڹ��̵��á����޸ĵ� XMLWriter resource������Դ�����ڶ� xmlwriter_open_uri() �� xmlwriter_open_memory() �ĵ��á�

name

The attribute name.

����ֵ

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

�μ�