Search code examples
c#xmlserializationxsdunattend-file

Where to locate the unattend.xml schema


I'm in need of a way to modify an unattend.xml file programmatically. It would be great if I could just serialize to and from an object. But to do so I would need to get a hold of the schema so that I can run it through XSD. The referenced link provides all the possible settings but it would be nice to have it in XSD format.

Any ideas?


Solution

  • You could generate a XSD schema from an XML file using the xsd.exe utility.

    xsd.exe unattend.xml