# Amount of XML tags?

**URL:** <https://forum.kirupa.com/t/amount-of-xml-tags/256654>\
**Category:** flash\
**Created:** [April 5, 2008, 5:19am UTC](https://forum.kirupa.com/t/amount-of-xml-tags/256654 "2008-04-05T05:19:42Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Maqrkk](https://avatars.discourse-cdn.com/v4/letter/m/35a633/32.png) [@Maqrkk](https://forum.kirupa.com/u/Maqrkk)\
**Post date:** [April 5, 2008, 5:19am UTC](https://forum.kirupa.com/t/amount-of-xml-tags/256654/1 "2008-04-05T05:19:42Z")

</div>

Hello,

I’ve got an XML file that contains maps for my game. It’s set up like this:

```auto
<maps>
  <map>
    <row></row>
    <row></row>
  </map>
  <map>
    <row></row>
    <row></row>
  </map>
</maps>

```

With the row tags containing data for the rows on the map. I want actionscript to be able to tell me how many \<map\> nodes there are. I’ve tried a bunch of different ways but I couldn’t get it to work.
