# Simple xml menu

**URL:** <https://forum.kirupa.com/t/simple-xml-menu/206132>\
**Category:** Uncategorized\
**Created:** [November 5, 2006, 6:25pm UTC](https://forum.kirupa.com/t/simple-xml-menu/206132 "2006-11-05T18:25:28Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Icy\_Penguin](https://avatars.discourse-cdn.com/v4/letter/i/f6c823/32.png) [@Icy\_Penguin](https://forum.kirupa.com/u/Icy_Penguin)\
**Post date:** [November 5, 2006, 6:25pm UTC](https://forum.kirupa.com/t/simple-xml-menu/206132/1 "2006-11-05T18:25:28Z")

</div>

hi all,  
i’m new to xml and am trying to build a simple xml menu for my site.

[here is what i want it to look like.](http://icypenguin.ca/navi.jpg)

the problem is, how can i get it too look like that from an xml file like this?

```auto
<?xml version="1.0"?>
<menu name="full">
    <title name="HOME" />
    <section name="INTRODUCTION">
        <item name="INTRO 1" />
        <item name="INTRO 2" />
        <item name="INTRO 3" />
    </section>
    <section name="ABOUT">
        <item name="ABOUT 1" />
        <item name="ABOUT 2" />
        <item name="ABOUT 3" />
    </section>
    <section name="WORK">
        <item name="WORK 1" />
        <item name="WORK 2" />
        <item name="WORK 3" />
    </section>
    <section name="CONTACT">
        <item name="CONTACT 1" />
        <item name="CONTACT 2" />
        <item name="CONTACT 3" />
    </section>
</menu>

```

How can I get "item"s to display right after each “section”?

i.e., how can I trace all of the names of the entire XML?

And also, how can I set the X coordinates of the links according to what I have in the image (items would be more to the right, and section titles would be a little bit less to the right)?

Thanks again.
