# Push for XMLList

**URL:** <https://forum.kirupa.com/t/push-for-xmllist/257614>\
**Category:** Uncategorized\
**Created:** [April 15, 2008, 5:43pm UTC](https://forum.kirupa.com/t/push-for-xmllist/257614 "2008-04-15T17:43:53Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![rrh](https://avatars.discourse-cdn.com/v4/letter/r/67e7ee/32.png) [@rrh](https://forum.kirupa.com/u/rrh)\
**Post date:** [April 15, 2008, 5:43pm UTC](https://forum.kirupa.com/t/push-for-xmllist/257614/1 "2008-04-15T17:43:53Z")

</div>

I’ve got a fairly complicated criteria to select elements from some XML. So I thought I’d just make one XMLList, and then for each node in that list, push the node into a second XMLList if it meets the criteria I’m looking for.

But I can’t find an equivalent for .push() for an XMLList. In fact, XMLList appears to be missing a lot of list manipulation methods that you’d think would be useful for a list: shift() pop() sort() splice() join()

What’s up with that? Is there something about XMLList that would make it defy list-based manipulation?
