# How to store the XML content into two arrays

**URL:** https://forum.kirupa.com/t/how-to-store-the-xml-content-into-two-arrays/202637
**Category:** flash
**Created:** [October 3, 2006, 12:16pm UTC](https://forum.kirupa.com/t/how-to-store-the-xml-content-into-two-arrays/202637 "2006-10-03T12:16:47Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![antonio707](https://avatars.discourse-cdn.com/v4/letter/a/edb3f5/32.png) [@antonio707](https://forum.kirupa.com/u/antonio707)
#### Post date: [October 3, 2006, 12:16pm UTC](https://forum.kirupa.com/t/how-to-store-the-xml-content-into-two-arrays/202637/1 "2006-10-03T12:16:47Z")

</div>

Hello everyone,

I have a basic xml file and i want to store the content in two arrays. I have little knowledge of actionscript. I hope someone is able to help me.  
The XML file is the following:

\<?xml version=“1.0”?\>  
\<quiz\>  
\<item\>  
\<quest\>naso\</quest\>  
\<ans\>nose\</ans\>  
\</item\>  
\<item\>  
\<quest\>bocca\</quest\>  
\<ans\>mouth\</ans\>  
\</item\>  
\<item\>  
\<quest\>occhi\</quest\>  
\<ans\>eyes\</ans\>  
\</item\>  
\<item\>  
\<quest\>orecchie\</quest\>  
\<ans\>ears\</ans\>  
\</item\>  
\</quiz\>
