Added Haggai XML input support