Fixed an issue with child selectors and XML documents (nodeName isn't in all-caps, and it was assumed that it was).