Print

Print


Syd and Sebastian,

Thank you both very much for your help!  I think we'll give Syd's
approach a try first.  I will let you know how we fare.

Cheers,
Joe


On Thu, Aug 11, 2011 at 1:12 PM, Sebastian Rahtz
<[log in to unmask]> wrote:
> 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.)
>>
>> This info is needed for a javascript-based editor of TEI texts.
>>
>> Thank
>