首页
学习
活动
专区
工具
TVP
发布
精选内容/技术社群/优惠产品,尽在小程序
立即前往

XMLReader::moveToAttributeNs

(PHP 5 >= 5.1.0, PHP 7)

XMLReader :: moveToAttributeNs - 将光标移动到指定的属性

描述

代码语言:javascript
复制
public bool XMLReader::moveToAttributeNs ( string $localName , string $namespaceURI )

将光标定位在指定名称空间中的指定属性上。

参数

localName

本地名称。

namespaceURI

名称空间URI。

返回值

成功时返回TRUE或失败时返回FALSE

扩展内容

  • XMLReader :: moveToElement() - 将光标定位在当前属性的父元素上
  • XMLReader :: moveToAttribute() - 将光标移动到指定的属性
  • XMLReader :: moveToAttributeNo() - 通过索引将光标移动到某个属性
  • XMLReader :: moveToFirstAttribute() - 将光标定位在第一个属性上

← XMLReader::moveToAttributeNo

XMLReader::moveToElement →

扫码关注腾讯云开发者

领取腾讯云代金券

http://www.vxiaotou.com