# Get a random tag in xml, and then get a random value inside that random tag

**URL:** <https://forum.kirupa.com/t/get-a-random-tag-in-xml-and-then-get-a-random-value-inside-that-random-tag/326481>\
**Category:** flash\
**Created:** [December 17, 2011, 4:05pm UTC](https://forum.kirupa.com/t/get-a-random-tag-in-xml-and-then-get-a-random-value-inside-that-random-tag/326481 "2011-12-17T16:05:01Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![MFRS](https://avatars.discourse-cdn.com/v4/letter/m/aca169/32.png) [@MFRS](https://forum.kirupa.com/u/MFRS)\
**Post date:** [December 17, 2011, 4:05pm UTC](https://forum.kirupa.com/t/get-a-random-tag-in-xml-and-then-get-a-random-value-inside-that-random-tag/326481/1 "2011-12-17T16:05:01Z")

</div>

Is it putting the first random var and then the second, like this?

```
frases.push(myXML.pais.frase1[ps][r]);
```
