Hi so I'm trying to output some of my data in XML, it's mostly outputting correctly but there's just one problem, the program requires me to have a strucure as following <?xml version="1.0" encoding="ISO-8859-7"?> <testcases> <testcase name="Kens Test Case"> <summary>This is the data sent from the Gen_4 unit test</summary> <importance>4</importance> </steps> </testcase> </testcases> but when I run my script in unity I get <?xml version="1.0" encoding="utf-8"?> <ArrayOfTestcase xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > <testcase name="test_1"> <summary>testSummury</summary> <importance>4</importance> <steps /> </testcase> </ArrayOfTestcase> Ok so the problem is that on the second line it should just say <testcases> But for some reason it keeps spitting out <ArrayOfTestcase> Here is my code, I hope someone can help me with this Code (CSharp): using UnityEngine; using System.Collections; using System.Xml.Serialization; using System.IO; using System.Collections.Generic; public class UnitTestManager : MonoBehaviour { public class testcase { public testcase(string name, string summary, string importance, List<Step> steps) { this.name = name; this.summary = summary; this.importance = importance; this.steps = steps; } public testcase() { } [XmlAttribute] public string name; public string summary; public string importance; public List<Step> steps; } public class Step { public Step() { } public Step(int step_number, string actions, string expectedResults) { this.step_number = step_number; this.actions = actions; this.expectedResults = expectedResults; } public int step_number; public string actions; public string expectedResults; } [XmlElement("testcases")] private List<testcase> testcases; void Serialize() { string screenshotFolder = ""; Config.Instance.GetValue(Config.SCREENSHOTFOLDER, ref screenshotFolder); XmlSerializer serial = new XmlSerializer(typeof(List<testcase>)); TextWriter writer = new StreamWriter(screenshotFolder + "UnitTests.xml"); serial.Serialize(writer, testcases); } void Start() { testcases = new List<testcase>(); testcases.Add(new testcase("test_1", "testSummury", "4", new List<Step>())); Serialize(); } }