PHP
XML

XMLWriter::startDTDAttlist

XMLWriter::startDTDAttlist

xmlwriter_start_dtd_attlist

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

XMLWriter :: startDTDAttlist - xmlwriter_start_dtd_attlist - 创建启动DTD AttList

描述

面向对象的样式

bool XMLWriter::startDTDAttlist ( string $name )

程序样式

bool xmlwriter_start_dtd_attlist ( resource $xmlwriter , string $name )

启动一个DTD属性列表。

参数

`xmlwriter`

仅限于程序调用。正在修改的XMLWriter资源。此资源来自对xmlwriter_open_uri()或xmlwriter_open_memory()的调用。

name

属性列表名称。

返回值

成功时返回TRUE或失败时返回FALSE

扩展内容

  • XMLWriter :: endDTDAttlist() - 结束当前的DTD AttList

  • XMLWriter :: writeDTDAttlist() - 写完整的DTD AttList标签

← XMLWriter::startDocument

XMLWriter::startDTDElement →