E4X filter on attribute with "reserved" name

I have and odd situation - I’m filtering on an attribute named “class” in XML:

 
filteredxml = MyItems.Item(@class=="whatever");

the problem is, flash is throwing a compile error based on the name of that attribute - “class”

is there a way to evaluate that attribute name to avoid this? I can change the attribute name in the XML.

thanks!