FRED automatically builds a DTD from a document instance. Very useful for 'bottom up' DTD design or for inducing minimal DTDs of documents.