# Need to link btns to ids from xml

**URL:** <https://forum.kirupa.com/t/need-to-link-btns-to-ids-from-xml/288389>\
**Category:** Uncategorized\
**Created:** [May 15, 2009, 5:15am UTC](https://forum.kirupa.com/t/need-to-link-btns-to-ids-from-xml/288389 "2009-05-15T05:15:20Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![icebot07](https://avatars.discourse-cdn.com/v4/letter/i/e99b99/32.png) [@icebot07](https://forum.kirupa.com/u/icebot07)\
**Post date:** [May 15, 2009, 5:15am UTC](https://forum.kirupa.com/t/need-to-link-btns-to-ids-from-xml/288389/1 "2009-05-15T05:15:20Z")

</div>

ok, i have this project i need to do – i’ve got the xml working (i think), but i need to trap both id’s from the xml file as well as whether a certain node is labeled true or false. what the best way to set that up?

should i make an explicit array with all the event ids, but then how do i call it from my menu?

i’m fuzzy on it, and need to get it to work. i tried to build it all into one page, then i tried putting it onto separate classes, a main and a thumb and content area, but i can’t figure out the best way to make it all work together.

any ideas? i’ll post code if i need to.
