Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compute the inherited value of ttm:role #544

Open
nigelmegitt opened this issue Mar 12, 2021 · 0 comments
Open

Compute the inherited value of ttm:role #544

nigelmegitt opened this issue Mar 12, 2021 · 0 comments

Comments

@nigelmegitt
Copy link
Collaborator

Downstream processing may require access to the applicable value of the ttm:role attribute on a content element. Semantically, the value of this metadata is effectively inherited.

For example:

<div ttm:role="caption">
   <p xml:id="pCaption">A caption</p>
   <p ttm:role="sound" xml:id="pSound">A sound</p>
</div>

Being able to compare the role of the two p elements here would be helpful for semantic processing, without having to climb the tree every time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant