I don't think you can actually write it back using a DTD-- I think you can only use an XSD file. Once you load the file into a DataSet, it loses the DTD information and stores it in an XSD schema, I think. The WriteXML() method on a dataset does allow you to write the XSD schema to file, though...
Reputation Points: 186
Solved Threads: 147
Cookie... That's it
Offline 2,519 posts
since Dec 2003