tab separated xpath output, newline separated output otherwise