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

XMLReader::moveToFirstAttribute

(PHP 5 >= 5.1.0, PHP 7)

XMLReader :: moveToFirstAttribute - 将光标定位在第一个属性上

描述

代码语言:javascript
复制
public bool XMLReader::moveToFirstAttribute ( void )

将光标移到第一个属性。

返回值

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

扩展内容

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

← XMLReader::moveToElement

XMLReader::moveToNextAttribute →

扫码关注腾讯云开发者

领取腾讯云代金券