> I want to formally define the format of the XMLs, and > writing a DTD appears to be the way to do this. However, > so far I can find only sample DTDs and the full-blown > XML specification. DTDs are explained in the full XML specification, section 2.8. I believe the content of a DTD follows the production extSubset. Regards, Martin