using dtddocumentor's features described at https://github.com/ncbi/DtdAnalyzer/wiki/Overview-of-DTD-annotations