German president visits Xi’an