New xpath helper func.