fixed bug for NodeLists
added textElem pseudo-tag for document, element and nodelist