There is a [code repo](https://github.com/php-edifact/untdid-parser) by that automatically takes the UN/TDID specification text and writes it as xml ([results here](https://github.com/php-edifact/edifact-mapping)). It would be cool to include these automated mappings into pydifact. Thanks to @sabas for this idea.