Is it possible to have an analyses reference a Child Element's Attribute?

I current have a parent element "A", which has two child elements "1" and "2", which each have an attribute "Open Percentage". Is there a way to have an analysis in A reference the open percentage of the child elements to compare which is larger?