Changed XMLformatter to return xsd/xsi in the same order as live.