# Xml finding if certain element has children

**URL:** <https://forum.kirupa.com/t/xml-finding-if-certain-element-has-children/279441>\
**Category:** Uncategorized\
**Created:** [January 14, 2009, 7:34pm UTC](https://forum.kirupa.com/t/xml-finding-if-certain-element-has-children/279441 "2009-01-14T19:34:48Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![scarjoh](https://avatars.discourse-cdn.com/v4/letter/s/85f322/32.png) [@scarjoh](https://forum.kirupa.com/u/scarjoh)\
**Post date:** [January 14, 2009, 7:34pm UTC](https://forum.kirupa.com/t/xml-finding-if-certain-element-has-children/279441/1 "2009-01-14T19:34:48Z")

</div>

has anybody got some code maybe which searches through xml file and finds out if some xml element has children and pushes the content of those children in a array?  
or something like that 😃
