Just get historyAsXml once.