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

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

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

瀏覽:21日期: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?,盡管這將隱式完成因為 libxml 是缺省開啟的。

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)為啟用,編譯時可通過下列選項禁用:?--disable-xmlreader

二、XMLReader類及其成員函數(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)文章:
主站蜘蛛池模板: 男人狂躁女人下面视频免费观看 | 国产成人精品免费视频软件 | 日韩精品视频在线 | 免费一级a毛片在线搐放正片 | 大伊香蕉精品二区视频在线 | 国产在线观看黄 | 国产99久久亚洲综合精品 | 青青草91在线| 日韩精品午夜视频一区二区三区 | 国产成人综合久久综合 | 国产高清在线精品免费 | a免费视频| 国产91在线精品 | 真实男女xx00动态视频免费 | 精品香蕉99久久久久网站 | 99久久免费国产精品 | 国产精选91热在线观看 | 国产欧美日韩视频在线观看 | 久久成人免费 | 伊人色综合久久天天爱 | 中文字幕一区二区三区精彩视频 | 欧美日韩亚毛片免费观看 | 久在线视频 | 免费看大黄高清网站视频在线 | 乱理最新乱理片中文 | 亚洲天堂视频网站 | 午夜网站在线播放 | 91香蕉视频在线观看 | 国内精品一区二区三区αv 国内精品一区二区三区东京 | 亚洲六月丁香六月婷婷花 | 加勒比久草 | 国产一区二区三区在线观看视频 | 天天影视色香欲综合网网站麻豆 | 草草久| 亚洲欧美日韩不卡一区二区三区 | 亚洲免费视频观看 | 国产精品国产午夜免费福利看 | 免费观看影院 | 最新国产在线 | 五月开心六月伊人色婷婷 | 日本成人网址 |