For some reason, my XmlElements with spaces in them are printed with _x0020 in place of the space.
For example,
[XmlElement("The Total")]
public double total { get; set; }
turns into <The_0x0020_Total>
when I print it out. I'm using a TextWriter to output, then I use XmlSerializer.Serialize to print to a file, but it's not working.