PHP 手册
后退 |  | 前进

# XMLReader->moveToAttribute()

(no version information, might be only in CVS)

XMLReader->moveToAttribute() -- Move cursor to a named attribute

## 说明

class XMLReader {
bool moveToAttribute ( string name )
}

Positions cursor on the named attribute.

## 参数

name

  The name of the attribute.

## 返回值

如果成功则返回 `TRUE`，失败则返回 `FALSE`。

## 参见

XMLReader->moveToElement()
XMLReader->moveToAttributeNo()
XMLReader->moveToAttributeNs()
XMLReader->moveToFirstAttribute()

后退 | 起点 | 前进
XMLReader->lookupNamespace() | 上一级 | XMLReader->moveToAttributeNo()