# Bit of XML help needed

**URL:** <https://forum.kirupa.com/t/bit-of-xml-help-needed/250471>\
**Category:** flash\
**Created:** [January 29, 2008, 9:29pm UTC](https://forum.kirupa.com/t/bit-of-xml-help-needed/250471 "2008-01-29T21:29:12Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![danhodkinson](https://avatars.discourse-cdn.com/v4/letter/d/3d9bf3/32.png) [@danhodkinson](https://forum.kirupa.com/u/danhodkinson)\
**Post date:** [January 29, 2008, 9:29pm UTC](https://forum.kirupa.com/t/bit-of-xml-help-needed/250471/1 "2008-01-29T21:29:12Z")

</div>

first of if anybody can point me in the direction of an already done example or tutorial in as3 for this then let me know.

ok basically i have a few buttons and when each is clicked a different section of my xml code is accessed. at the moment i am just using 2 different options until i expand it andmy xml code is:

```php
<?xml version="1.0" ?>
<menu>
  <building campusbuilding= "The Library">
   <weekday><![CDATA[<b>Normal Opening Times</b>]]>
    <OT>Opening Time: 09:00am</OT>
    <CT>Closing Time: 12:00am</CT></weekday>
   <weekend><![CDATA[<b>Weekend Opening Times</b>]]>
    <OT>Opening Time: 12:00pm</OT>
    <CT>Closing Time: 10:00pm</CT></weekend>
   <furtherInfo>
    <contact>Contact: blah</contact>
    <website>Wesbsite: blah</website>
    <other>Other: Opening and Closing times extend during the exam periods</other></furtherInfo>
  </building>
  <building campusbuilding= "The Senate">
   <weekday><![CDATA[<b>Normal Opening Times</b>]]>
    <OT>Opening Time: 09:00am</OT>
    <CT>Closing Time: 12:00am</CT></weekday>
   <weekend><![CDATA[<b>Weekend Opening Times</b>]]>
    <OT>Opening Time: 12:00pm</OT>
    <CT>Closing Time: 10:00pm</CT></weekend>
   <furtherInfo>
    <contact>Contact: blah</contact>
    <website>Wesbsite: blah</website>
    <other>Other: Opening and Closing times extend during the exam periods</other></furtherInfo>
  </building>
</menu>

```

for my AS3 code, i’m coming up a bit stumped, i no about loading the URLLoader for it, but its the accessing of nodes and childs that im a bit stumped on. i presume it would be using eventListener on MOUSE.CLICK’s to then access the information i require.  
can anybody give me any advice to get me on my way?  
Thanks  
Dan Hodkinson
