I would do this with a special odd processor, as the work is already done in the ODD-processing stylesheets to make the documentation. I would be glad to help derive a variant to get the info out in the form needed. But Syd's xslt processing of relaxng will work fine too.
You _could_ scrape the HTML out of Roma....
Carved in stone on my iPad
On 11 Aug 2011, at 16:35, "Joe Wicentowski" <[log in to unmask]> wrote:
> Hello TEI-L,
> Can anyone suggest an approach to deriving the following information
> from a given TEI schema (expressed in ODD, RNG, or XSD)?
> For each TEI element, list all of its permitted parent elements. (I
> mean its direct parent, not ancestor.)