Improved XML output

XML output now outputs the complete ECLI file, including the references.
(Comments need to be added)