# ID structuring

**URL:** <https://forum.kirupa.com/t/id-structuring/324795>\
**Category:** flash\
**Created:** [September 9, 2011, 9:51am UTC](https://forum.kirupa.com/t/id-structuring/324795 "2011-09-09T09:51:51Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![timba](https://avatars.discourse-cdn.com/v4/letter/t/a88e57/32.png) [@timba](https://forum.kirupa.com/u/timba)\
**Post date:** [September 9, 2011, 9:51am UTC](https://forum.kirupa.com/t/id-structuring/324795/1 "2011-09-09T09:51:51Z")

</div>

Hello,  
I didn’t quite know what forum to put this in, since it’s not directly programming related.  
But since the project it’s related to is made with Actionscript3/flash/XML I figured I’d post it in here.

Im working on a project that’s for helping people perform first aid. It’s based off a nifty thing called a “ResqueMate”. Basically, the app will ask you a question, on which you give an answer yes/no. It will respond to this with explanation+new question.

I figured i’d structure the questions in a XML file, for easy retrieval/editing. I made a structure like this;

```
             &lt;question id=””&gt;
                            &lt;question-text nexts=””&gt;
                            &lt;next nextid=””&gt;
                            &lt;answer_yes&gt; question-id new question&lt;/answer_yes&gt;
                           &lt;answer_no&gt; question-id new question&lt;/answer_no&gt;
            &lt;/question&gt;

```

The ‘problem’ I am having though, is that currently (we haven’t extracted all of the text from the device yet) we allready got somewhere around 200 ‘questions/answers’. How can I structure their ID’s in a way I won’t make a terrible mess out of it?
