XMLAttribute.OwnerElement

From Xojo Documentation

Property (As XMLElement )
aXMLAttribute.OwnerElement = newXMLElementValue
or
XMLElementValue = aXMLAttribute.OwnerElement

Supported for all project types and targets.

A reference to the XMLElement that this attribute is part of.