Documentación offline PHP master

XMLReader::moveToAttribute

master Ver versión oficial en línea Licencia CC-BY-3.0Descargado el 2026-08-02

En esta página

XMLReader::moveToAttribute

Mueve el cursor a un atributo nombrado

Descripción#

php public XMLReader::moveToAttribute(string $name): boolphp

Posciciona el cursor a un atributo nombrado.

Parámetros#

name
El nombre del atributo.

Valores devueltos#

Esta función retorna true en caso de éxito o false si ocurre un error.

Véase también#

XMLReader::moveToElement, XMLReader::moveToAttributeNo, XMLReader::moveToAttributeNs, XMLReader::moveToFirstAttribute