But I wonder how I would generate such a list for a customized ODD where the content model of some elements has been changed (e.g. in order to prevent mixed content). I understand that I probably would need to compile my ODD to make it self-contained, but then it still contains references to macros in the content specifications of elements. So just looking for missing <textNode/> in the content models of elements does not do the job and one probably would need to resolve the macro references.
But is there perhaps already a script around to do this?