php8.5
Home/ Manual/ xmlreader / xmlreader/ XMLReader::moveToNextAttribute

XMLReader::moveToNextAttribute

PHP function Edit on GitHub ✎

(PHP 5 >= 5.1.0, PHP 7, PHP 8)

Position cursor on the next Attribute

Description

XMLReader::moveToNextAttribute(): bool

Moves cursor to the next Attribute if positioned on an Attribute or moves to first attribute if positioned on an Element.

Parameters Parameters

Return Values

Success

See Also

  • XMLReader::moveToElement
  • XMLReader::moveToAttribute
  • XMLReader::moveToAttributeNo
  • XMLReader::moveToAttributeNs
  • XMLReader::moveToFirstAttribute

Source: reference/xmlreader/xmlreader/movetonextattribute.xml · from the official PHP manual (php/doc-en)