XMLReader::moveToAttribute
PHP function
Edit on GitHub ✎
(PHP 5 >= 5.1.0, PHP 7, PHP 8)
Move cursor to a named attribute
Description
XMLReader::moveToAttribute(string $name): bool
Positions cursor on the named attribute.
Parameters
nameThe name of the attribute.
Return Values
Success
See Also
XMLReader::moveToElementXMLReader::moveToAttributeNoXMLReader::moveToAttributeNsXMLReader::moveToFirstAttribute