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

更多QQ空间微信QQ好友腾讯朋友复制链接
您的位置:首頁/技術文章
文章詳情頁

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

【字号: 作者:豬豬瀏覽:6日期: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.

此擴展需要?libxml?PHP 擴展。這表示需要使用?--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.

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

二、XMLReader類及其成員函數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
標簽: PHP
相關文章:
主站蜘蛛池模板: 女人一级毛片 | 九九热视频在线免费观看 | 国产午夜精品久久久久九九 | 国产成人永久免费视 | 国产人碰人摸人爱免费视频 | 国产青青在线视频 | 特级毛片永久久免费观看 | 91视频网页版 | 狠狠色狠狠色综合婷婷tag | 亚洲精品区 | 亚洲丝袜在线播放 | 黄色大片一级 | 黄色片一级黄色片 | 国产在线精品视频 | 久久精品2021国产 | 日韩毛片高清免费 | 亚洲国产精品成人综合色在线婷婷 | 高h猛烈做哭bl壮汉受小说 | 国产vvv在线观看 | 国产成人精品免费影视大全 | 国产一级一级一级成人毛片 | 国产日韩视频一区 | 国产 欧美 日韩在线 | 9久久免费国产精品特黄 | 国产日韩在线视频 | a免费看 | 久草免费福利资源站在线观看 | 国产精品免费一区二区三区 | 亚洲综合精品一区 | 亚洲精品午夜久久aaa级久久久 | aaa国产精品 | 99视频在线精品 | 一级国产20岁美女毛片 | 国产精品第一区第27页 | 久久国产免费观看精品1 | 亚洲精品久久玖玖玖玖 | 强开小嫩苞一区二区三区l 婷婷丁香色综合狠狠色 | 九九99九九视频在线观看 | 黄网在线看| 五月激激激综合网色播免费 | www.毛片在线观看 |