# Getting an xml attribute that uses an actionscript reserved word

**URL:** <https://forum.kirupa.com/t/getting-an-xml-attribute-that-uses-an-actionscript-reserved-word/202995>\
**Category:** flash\
**Created:** [October 6, 2006, 12:38pm UTC](https://forum.kirupa.com/t/getting-an-xml-attribute-that-uses-an-actionscript-reserved-word/202995 "2006-10-06T12:38:52Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![anteater\_sa](https://avatars.discourse-cdn.com/v4/letter/a/d9b06d/32.png) [@anteater\_sa](https://forum.kirupa.com/u/anteater_sa)\
**Post date:** [October 6, 2006, 12:38pm UTC](https://forum.kirupa.com/t/getting-an-xml-attribute-that-uses-an-actionscript-reserved-word/202995/1 "2006-10-06T12:38:52Z")

</div>

Hi there, I am trying to read an xml attribute that is named “class”, unfortunately this is a reserved actionscript word and is giving me errrors.

Does anyone have any ideas how i can get read this attribute?
