support for NodeLists instead of just Elements