DOM4 methods (check parentNode)

like https://github.com/WebReflection/dom4