這篇文章主要介紹PHP擴展之XMLWriter的示例分析,文中介紹的非常詳細,具有一定的參考價值,感興趣的小伙伴們一定要看完!
創(chuàng)新互聯(lián)-專業(yè)網(wǎng)站定制、快速模板網(wǎng)站建設(shè)、高性價比銅川網(wǎng)站開發(fā)、企業(yè)建站全套包干低至880元,成熟完善的模板庫,直接使用。一站式銅川網(wǎng)站制作公司更省心,省錢,快速模板網(wǎng)站建設(shè)找我們,業(yè)務(wù)覆蓋銅川地區(qū)。費用合理售后完善,十載實體公司更值得信賴。
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::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的示例分析”這篇文章的所有內(nèi)容,感謝各位的閱讀!希望分享的內(nèi)容對大家有幫助,更多相關(guān)知識,歡迎關(guān)注創(chuàng)新互聯(lián)行業(yè)資訊頻道!
當前名稱:PHP擴展之XMLWriter的示例分析
網(wǎng)站網(wǎng)址:http://jinyejixie.com/article18/poecdp.html
成都網(wǎng)站建設(shè)公司_創(chuàng)新互聯(lián),為您提供全網(wǎng)營銷推廣、網(wǎng)站設(shè)計公司、網(wǎng)站導(dǎo)航、網(wǎng)站維護、外貿(mào)建站、手機網(wǎng)站建設(shè)
聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以用戶投稿、用戶轉(zhuǎn)載內(nèi)容為主,如果涉及侵權(quán)請盡快告知,我們將會在第一時間刪除。文章觀點不代表本網(wǎng)站立場,如需處理請聯(lián)系客服。電話:028-86922220;郵箱:631063699@qq.com。內(nèi)容未經(jīng)允許不得轉(zhuǎn)載,或轉(zhuǎn)載時需注明來源: 創(chuàng)新互聯(lián)