DTD Calculator
Software description and download.
This is a screenshot for the software DTD Calculator. Convert modelines to DTDs and back again.