# Xml total children

**URL:** <https://forum.kirupa.com/t/xml-total-children/227669>\
**Category:** Uncategorized\
**Created:** [June 1, 2007, 3:11am UTC](https://forum.kirupa.com/t/xml-total-children/227669 "2007-06-01T03:11:21Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ajcates](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/ajcates/32/2435_2.png) [@ajcates](https://forum.kirupa.com/u/ajcates)\
**Post date:** [June 1, 2007, 3:11am UTC](https://forum.kirupa.com/t/xml-total-children/227669/1 "2007-06-01T03:11:21Z")

</div>

i would like to find out how to figure out children a node may have.

for example lets say i have this xml doc

```auto

<xml>
<data>
<thingy>text</thingy>
<thingy>text</thingy>
<thingy>text</thingy>
<thingy>text</thingy>
</data>
</xml>

```

how would i figure out that the node data has 4 children?
