The getAttributeNames()
method retrieves an array of all attribute names for the current element. This can be useful when you need to iterate over all the attribute names without the actual values.
Description
public ElementNode::getAttributeNames(): array
Parameters
None
Return Value
Returns an array of strings containing all the attribute names of the element.
Exceptions
None