# Flash xml quiz

**URL:** https://forum.kirupa.com/t/flash-xml-quiz/194853
**Category:** Uncategorized
**Created:** [July 26, 2006, 6:29pm UTC](https://forum.kirupa.com/t/flash-xml-quiz/194853 "2006-07-26T18:29:03Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![mr\_fixit](https://avatars.discourse-cdn.com/v4/letter/m/d26b3c/32.png) [@mr\_fixit](https://forum.kirupa.com/u/mr_fixit)
#### Post date: [July 26, 2006, 6:29pm UTC](https://forum.kirupa.com/t/flash-xml-quiz/194853/1 "2006-07-26T18:29:03Z")

</div>

[FONT=Verdana][FONT=&quot]Ok, I have an xml doc that has 6 categories that are colors and 4 questions that fall under each category. My question is I’m trying to create a quiz that will grab a question/answers based on a variable between 1-6 from the (6) categories in the xml doc. But the kicker is I want the user to have to choose from a different category if the 1-6 variables are different. And I need to walk down and grab a different question if they have been to blue before or maybe just a random question from the blue or green section.

If anyone could shed some light on my dark situation I would be grateful.[/FONT][/FONT]

The xml doc example of one section the doc has 6 nodes with 4 questions each.

\<trivia\>  
\<color\_blue\>  
\<quiz answer=“The earth”\>where are you at?  
\<choice name=“The earth”\>yes, you are right\</choice\>  
\<choice name=“mars”\>no, that is wrong\</choice\>  
\<choice name=“venus” \>hahahahahhah\</choice\>  
\</quiz\>  
\</trivia\>
