Impl evaluate xpath with InputSource