# How to access xml node with ActionScript keyword name

**URL:** <https://forum.kirupa.com/t/how-to-access-xml-node-with-actionscript-keyword-name/233363>\
**Category:** flash\
**Created:** [July 23, 2007, 1:23pm UTC](https://forum.kirupa.com/t/how-to-access-xml-node-with-actionscript-keyword-name/233363 "2007-07-23T13:23:23Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![psych](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/psych/32/2839_2.png) [@psych](https://forum.kirupa.com/u/psych)\
**Post date:** [July 23, 2007, 1:23pm UTC](https://forum.kirupa.com/t/how-to-access-xml-node-with-actionscript-keyword-name/233363/1 "2007-07-23T13:23:23Z")

</div>

I have a following problem, i need to access a xml “\<switch\>” node but “switch” is an actionscript keyword so following E4X notation:

```auto

myXML.switch

```

in an ActionScript statement where “myXML” is XML object doesn’t work. Does anyone know how i can still access \<switch\> node?

thanks a lot
