XMLReader::getAttributeNo
(PHP 5 >= 5.1.0, PHP 7, PHP 8)
XMLReader::getAttributeNo — Get the value of an attribute by index
Description
public function XMLReader::getAttributeNo(
int $index):
?string
Parameters
index
-
The position of the attribute.
Return Values
The value of the attribute, or null if no attribute exists at
index or is not positioned on the element.