亚洲精品久久久中文字幕-亚洲精品久久片久久-亚洲精品久久青草-亚洲精品久久婷婷爱久久婷婷-亚洲精品久久午夜香蕉

您的位置:首頁(yè)技術(shù)文章
文章詳情頁(yè)

PHP擴(kuò)展之XML操作(四)——XMLReader

瀏覽:7日期:2022-09-16 10:12:44
一、概述及安裝

The XMLReader extension is an XML Pull parser. The reader acts as a cursor going forward on the document stream and stopping at each node on the way.

It is important to note that internally, libxml uses the UTF-8 encoding and as such, the encoding of the retrieved contents will always be in UTF-8 encoding.

此擴(kuò)展需要?libxml?PHP 擴(kuò)展。這表示需要使用?--enable-libxml?,盡管這將隱式完成因?yàn)?libxml 是缺省開(kāi)啟的。

The XMLReader extension was initially a PECL extension for PHP 5. It was later moved to the PHP source (bundled) as of PHP 5.1.0, and later enabled by default as of PHP 5.1.2.

此擴(kuò)展默認(rèn)為啟用,編譯時(shí)可通過(guò)下列選項(xiàng)禁用:?--disable-xmlreader

二、XMLReader類(lèi)及其成員函數(shù)XMLReader::close?— Close the XMLReader inputXMLReader::expand?— Returns a copy of the current node as a DOM objectXMLReader::getAttribute?— Get the value of a named attributeXMLReader::getAttributeNo?— Get the value of an attribute by indexXMLReader::getAttributeNs?— Get the value of an attribute by localname and URIXMLReader::getParserProperty?— Indicates if specified property has been setXMLReader::isValid?— Indicates if the parsed document is validXMLReader::lookupNamespace?— Lookup namespace for a prefixXMLReader::moveToAttribute?— Move cursor to a named attributeXMLReader::moveToAttributeNo?— Move cursor to an attribute by indexXMLReader::moveToAttributeNs?— Move cursor to a named attributeXMLReader::moveToElement?— Position cursor on the parent Element of current AttributeXMLReader::moveToFirstAttribute?— Position cursor on the first AttributeXMLReader::moveToNextAttribute?— Position cursor on the next AttributeXMLReader::next?— Move cursor to next node skipping all subtreesXMLReader::open?— Set the URI containing the XML to parseXMLReader::read?— Move to next node in documentXMLReader::readInnerXML?— Retrieve XML from current nodeXMLReader::readOuterXML?— Retrieve XML from current node, including it selfXMLReader::readString?— Reads the contents of the current node as a stringXMLReader::setParserProperty?— Set parser optionsXMLReader::setRelaxNGSchema?— Set the filename or URI for a RelaxNG SchemaXMLReader::setRelaxNGSchemaSource?— Set the data containing a RelaxNG SchemaXMLReader::setSchema?— Validate document against XSDXMLReader::XML?— Set the data containing the XML to parse
標(biāo)簽: PHP
相關(guān)文章:
主站蜘蛛池模板: 黄色高清视频在线观看 | 在线观看成年美女黄网色视频 | 国产一级aa大片毛片 | 三级毛片在线 | 久久综合色婷婷 | 男女又黄又刺激黄a大片桃色 | 99久久精品6在线播放 | 噜噜视频入口 | 欧美a级成人淫片免费看 | 成人性生交大片免费看软件 | 久久国产高清字幕中文 | 久久国产精品亚洲一区二区 | 在线黄| 久久精品爱国产免费久久 | 欧美大尺度交性视频 | 成人做爰网站免费看 | 欧美成年| 亚洲高清成人欧美动作片 | 精品中文字幕在线观看 | 国产在线观看精品一区二区三区91 | 欧美日韩性视频在线 | 亚洲淫视频 | 国产久| 亚洲国产香蕉视频欧美 | 色在线影院 | 日本护士69xxxx免费 | 国产最新自拍 | 亚洲伊人精品综合在合线 | 国产在线播放拍拍拍 | 亚洲一区二区三区高清网 | 美女视频一区二区 | 永久免费毛片在线播放 | 亚洲色图男人天堂 | 精品一区二区三区的国产在线观看 | 欧美日韩中出 | 国产成人精视频在线观看免费 | 黄色一级片在线播放 | 国产成人精品亚洲午夜麻豆 | 韩国一级毛片大全女教师 | 国语自产免费精品视频一区二区 | 91精品国产福利尤物免费 |