XMLElement.AttributeCount

From Xojo Documentation

Property (As Integer )
aXMLElement.AttributeCount = newIntegerValue
or
IntegerValue = aXMLElement.AttributeCount

Supported for all project types and targets.

The number of attributes this element contains.