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

Mandatory @xml:id attribute on the root TEI element? #208

Open
daliboris opened this issue Nov 7, 2023 · 1 comment
Open

Mandatory @xml:id attribute on the root TEI element? #208

daliboris opened this issue Nov 7, 2023 · 1 comment

Comments

@daliboris
Copy link
Contributor

The @xml:id attribute is mandatory on the <entry> element for referencing (usually within the dictionary itself, but not always).

Should this attribute also be mandatory for the root element <TEI> for referencing the whole dictionary?

For example second edition of the same work.

@laurentromary
Copy link
Contributor

Well @xml:id is intended to identify a unique element within a document (it's a core XML mechanism) and it makes no real sense to have it on a root element. The exception would be, taking up your use case, if you have two editions within a <teiCorpus> with more than one <TEI> element inside. If you really want to attach a unique identifier, you should have it within an <idno> in the <publicationStmt> of your document.

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

2 participants