@id

The attribute id identifies an entity described within an element. Must be unique within a given file. Must consist only of non-spacing characters.

The attribute id contains a tag URN that permanently and uniquely names the current file, the so-called IRI Name of the current file. See the section called “@id and a TAN file's IRI Name” for discussion.

For more on the syntax of tag URNs see the section called “Tag URNs”

Formal Definition

anyURI string (pattern \S+)anyURI (pattern tag:([\-a-zA-Z0-9._%+]+@)?[\-a-zA-Z0-9.]+\.[A-Za-z]{2,4},\d{4}(-(0\d|1[0-2]))?(-([0-2]\d|3[01]))?:\S+)

Defined at: catalog.tan.rng, TAN-core.rng

Used by: <doc>, <TAN-A-div>, <TAN-A-lm>, <TAN-A-tok>, <TAN-key>, <TAN-mor>, <TAN-T>, ~defn-alias

[Caution]Caution

Every TAN file must have a primary agent, the organization or person that takes the greatest responsibility for the content of the TAN file. The primary agent is defined as the first <agent> with an <IRI> that is a tag URI whose namespace matches the namespaces of @id in the root element.

[Caution]Caution

@xml:id values may not be repeated in the same document.

[Caution]Caution

In a catalog.tan.xml, @id should match the target's root element @id

[Important]Important

Different TAN files should have unique @ids.

[Important]Important

If a local catalog.tan.xml file lacks a reference to a TAN file being validated, a warning will appear.

Example 8.29. @id

<TAN-T id="tag:kalvesmaki.com,2014:tan-t:ar.cat.eng.1926.edghill:model-object-refs" TAN-version="2018">
   <head>
      .........
   </head>
   <body xml:lang="eng">
      .........
   </body>
</TAN-T>


[Note]Note

Taken from ar.cat.eng.1926.edghill.obj

Example 8.30. @id

<TAN-T id="tag:kalvesmaki.com,2014:tan-t:ar.cat.eng.1926.edghill:semantic-refs" TAN-version="2018">
   <head>
      .........
   </head>
   <body xml:lang="eng">
      .........
   </body>
</TAN-T>


[Note]Note

Taken from ar.cat.eng.1926.edghill.sem

Example 8.31. @id

<TAN-T id="tag:kalvesmaki.com,2014:tan-t:ar.cat.fra.1844.saint-hilaire:semantic-refs" TAN-version="2018">
   <head>
      .........
   </head>
   <body xml:lang="fra">
      .........
   </body>
</TAN-T>


[Note]Note

Taken from ar.cat.fra.1844.saint-hilaire.sem-native

Example 8.32. @id

<TAN-T TAN-version="2018" id="tag:kalvesmaki.com,2014:tan-t:ar.cat.fra.1844.saint-hilaire:semantic-refs-realigned">
   <head>
      .........
   </head>
   <body xml:lang="fra">
      .........
   </body>
</TAN-T>


[Note]Note

Taken from ar.cat.fra.1844.saint-hilaire.sem