Extract the values in an xml tag through the command line