Use xpath command instead of ugly xmllint command