Simplify implementations of XUnitXmlReport and NUnitXmlReport to take advantage of shorthand provided by the .NET framework's XML classes.