changed the checks for non-elements using alpha comparison of nodeName '@'
changed the checks for non-elements using alpha comparison of nodeName '@'

dperini/nwmatcher,dperini/nwmatcher,dperini/nwmatcher