91超碰碰碰碰久久久久久综合_超碰av人澡人澡人澡人澡人掠_国产黄大片在线观看画质优化_txt小说免费全本

溫馨提示×

溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊×
其他方式登錄
點擊 登錄注冊 即表示同意《億速云用戶服務條款》

PHP擴展之XMLWriter的示例分析

發布時間:2021-09-03 10:41:56 來源:億速云 閱讀:145 作者:小新 欄目:編程語言

這篇文章主要介紹PHP擴展之XMLWriter的示例分析,文中介紹的非常詳細,具有一定的參考價值,感興趣的小伙伴們一定要看完!

一、概述及安裝

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 attribute

  • XMLWriter::endCData — End current CDATA

  • XMLWriter::endComment — Create end comment

  • XMLWriter::endDocument — End current document

  • XMLWriter::endDTDAttlist — End current DTD AttList

  • XMLWriter::endDTDElement — End current DTD element

  • XMLWriter::endDTDEntity — End current DTD Entity

  • XMLWriter::endDTD — End current DTD

  • XMLWriter::endElement — End current element

  • XMLWriter::endPI — End current PI

  • XMLWriter::flush — Flush current buffer

  • XMLWriter::fullEndElement — End current element

  • XMLWriter::openMemory — Create new xmlwriter using memory for string output

  • XMLWriter::openURI — Create new xmlwriter using source uri for output

  • XMLWriter::outputMemory — Returns current buffer

  • XMLWriter::setIndentString — Set string used for indenting

  • XMLWriter::setIndent — Toggle indentation on/off

  • XMLWriter::startAttributeNS — Create start namespaced attribute

  • XMLWriter::startAttribute — Create start attribute

  • XMLWriter::startCData — Create start CDATA tag

  • XMLWriter::startComment — Create start comment

  • XMLWriter::startDocument — Create document tag

  • XMLWriter::startDTDAttlist — Create start DTD AttList

  • XMLWriter::startDTDElement — Create start DTD element

  • XMLWriter::startDTDEntity — Create start DTD Entity

  • XMLWriter::startDTD — Create start DTD tag

  • XMLWriter::startElementNS — Create start namespaced element tag

  • XMLWriter::startElement — Create start element tag

  • XMLWriter::startPI — Create start PI tag

  • XMLWriter::text — Write text

  • XMLWriter::writeAttributeNS — Write full namespaced attribute

  • XMLWriter::writeAttribute — Write full attribute

  • XMLWriter::writeCData — Write full CDATA tag

  • XMLWriter::writeComment — Write full comment tag

  • XMLWriter::writeDTDAttlist — Write full DTD AttList tag

  • XMLWriter::writeDTDElement — Write full DTD element tag

  • XMLWriter::writeDTDEntity — Write full DTD Entity tag

  • XMLWriter::writeDTD — Write full DTD tag

  • XMLWriter::writeElementNS — Write full namespaced element tag

  • XMLWriter::writeElement — Write full element tag

  • XMLWriter::writePI — Writes a PI

  • XMLWriter::writeRaw — Write a raw XML text

以上是“PHP擴展之XMLWriter的示例分析”這篇文章的所有內容,感謝各位的閱讀!希望分享的內容對大家有幫助,更多相關知識,歡迎關注億速云行業資訊頻道!

向AI問一下細節

免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。

AI

文安县| 嘉荫县| 义马市| 隆林| 文山县| 保山市| 濮阳县| 新巴尔虎左旗| 涪陵区| 寿光市| 金山区| 民和| 阿图什市| 格尔木市| 德江县| 河源市| 朔州市| 德兴市| 桑日县| 二手房| 库伦旗| 阜宁县| 双峰县| 龙南县| 崇仁县| 承德县| 太原市| 清苑县| 同仁县| 桂平市| 象山县| 南充市| 沅江市| 彩票| 从江县| 泗洪县| 景泰县| 珠海市| 平泉县| 驻马店市| 霸州市|