Switching displayed quotes and XML output working