Today I was using XSD.exe to generate types from XSDs and using XmlSerializer to serialize the instantiated objects from these types back into XML. I ran into some problems with the serialization and hit the dreaded error message:
There was an error generating the XML document
I found this help blog entry on the Asp.Net weblog (http://weblogs.asp.net) and thought I would pass it along. After reading it, I was able to solve my problem.