久久r热视频,国产午夜精品一区二区三区视频,亚洲精品自拍偷拍,欧美日韩精品二区

您的位置:首頁技術文章
文章詳情頁

PHP擴展之XML操作(五)——XMLWriter

瀏覽:3日期:2022-09-16 10:22:34
一、概述及安裝

This is the XMLWriter extension. It wraps the libxml xmlWriter API.

This extension represents a writer that provides a non-cached, forward-only means of generating streams or files containing XML data.

This extension can be used in an object oriented style or a procedural one. Every method documented describes the alternative procedural call.

此擴展需要?libxml?PHP 擴展。這表示需要使用?--enable-libxml?,盡管這將隱式完成因為 libxml 是缺省開啟的。

The XMLWriter extension was initially a PECL extension for PHP 5. It was later added to the PHP source (bundled) as of PHP 5.1.2. This extension is enabled by default.

此擴展默認為啟用,編譯時可通過下列選項禁用:?--disable-xmlwriter

二、XMLWriter類及其成員函數XMLWriter::endAttribute?— End attributeXMLWriter::endCData?— End current CDATAXMLWriter::endComment?— Create end commentXMLWriter::endDocument?— End current documentXMLWriter::endDTDAttlist?— End current DTD AttListXMLWriter::endDTDElement?— End current DTD elementXMLWriter::endDTDEntity?— End current DTD EntityXMLWriter::endDTD?— End current DTDXMLWriter::endElement?— End current elementXMLWriter::endPI?— End current PIXMLWriter::flush?— Flush current bufferXMLWriter::fullEndElement?— End current elementXMLWriter::openMemory?— Create new xmlwriter using memory for string outputXMLWriter::openURI?— Create new xmlwriter using source uri for outputXMLWriter::outputMemory?— Returns current bufferXMLWriter::setIndentString?— Set string used for indentingXMLWriter::setIndent?— Toggle indentation on/offXMLWriter::startAttributeNS?— Create start namespaced attributeXMLWriter::startAttribute?— Create start attributeXMLWriter::startCData?— Create start CDATA tagXMLWriter::startComment?— Create start commentXMLWriter::startDocument?— Create document tagXMLWriter::startDTDAttlist?— Create start DTD AttListXMLWriter::startDTDElement?— Create start DTD elementXMLWriter::startDTDEntity?— Create start DTD EntityXMLWriter::startDTD?— Create start DTD tagXMLWriter::startElementNS?— Create start namespaced element tagXMLWriter::startElement?— Create start element tagXMLWriter::startPI?— Create start PI tagXMLWriter::text?— Write textXMLWriter::writeAttributeNS?— Write full namespaced attributeXMLWriter::writeAttribute?— Write full attributeXMLWriter::writeCData?— Write full CDATA tagXMLWriter::writeComment?— Write full comment tagXMLWriter::writeDTDAttlist?— Write full DTD AttList tagXMLWriter::writeDTDElement?— Write full DTD element tagXMLWriter::writeDTDEntity?— Write full DTD Entity tagXMLWriter::writeDTD?— Write full DTD tagXMLWriter::writeElementNS?— Write full namespaced element tagXMLWriter::writeElement?— Write full element tagXMLWriter::writePI?— Writes a PIXMLWriter::writeRaw?— Write a raw XML text
標簽: PHP
相關文章:
主站蜘蛛池模板: 安龙县| 衡阳县| 光山县| 抚顺县| 福州市| 长垣县| 会昌县| 随州市| 长岛县| 青阳县| 化隆| 五峰| 金门县| 五家渠市| 秭归县| 阿巴嘎旗| 安仁县| 寻甸| 郑州市| 永川市| 曲阜市| 海晏县| 姜堰市| 滦平县| 湖口县| 合江县| 阿图什市| 吕梁市| 绍兴县| 合肥市| 陆河县| 驻马店市| 荆州市| 晋城| 皋兰县| 和平县| 太仓市| 永年县| 彭泽县| 温宿县| 夹江县|