TAN-A-tok elements and attributes summarized

The element align declares one or more groups of words that should be aligned with each other. <align> specifies that all the tokens invoked for one source collectively align with the tokens in the other.

Formal Definition

   (~inclusion | 
      (~alignment-attributes-non-class-2, ~certainty-stamp, @group?, (<comment>* & (<tok> | ~tok-sequence)+)))

Used by: ~item

[Important]Important

A defective reference is a value of @ref that corresponds to a <div> in some but not all sources in a work. If a defective reference is used, a warning will be reported, identifying the sources that lack the appropriate <div>.

[Caution]Caution

No <div> that is a member of a complex realignment may be used to align all members of a work (@src should be used instead of @work)

[Caution]Caution

A <tok> may not duplicate any sibling <tok>.


The element bitext-relation identifies how the text on one text-bearing object relates to that on another by specifying a relationship, e.g., B is a direct copy of A, B and A descent from a commont parent, etc. See the section called “Token-Based Alignments (<TAN-A-tok>)” for theoretical background.

In most cases, there will be need for only one of these elements. But multiple values may be helpful for cases where a bitext has a complex history, for example, a textual object that was created over time, and in different phases.

This element should not be used to describe any activities (e.g., translation, copying), reserved for <reuse-type>.

For examples see main.xml# keywords-bitext-relation

Formal Definition

~decl-pattern-default

Used by: ~declaration-items




The element reuse-type identifies a category of text reuse (e.g., translation, mistranslation, paraphrase, ridicule). See the section called “Token-Based Alignments (<TAN-A-tok>)” for theoretical background.

For examples see main.xml# keywords-reuse-type

Formal Definition

~decl-pattern-default




The element TAN-A-tok specifies that the file is a token-based TAN alignment file. Root element.

Formal Definition

~TAN-root
[Important]Important

Every validated TAN file will include the following message at its root. This version of TAN is under development, and is subject to change. Participants in developing the TAN schemas, functions, and guidelines are welcome. See http://textalign.net for details.




The attribute bitext-relation points to one or more <bitext-relation> @xml:id values that qualify the type of relation that holds. Multiple values assume inclusive or (A or B or A and B)

This attribute is inheritable. See the section called “Interpretation of inheritable attributes”

Formal Definition

Used by: ~other-body-attributes, ~alignment-attributes-non-class-2

[Caution]Caution

Every idref in an attribute must point to the @xml:id value of the appropriate corresponding element.

[Caution]Caution

All idrefs in an attribute must be unique.




The attribute reuse-type points to one or more <reuse-type> @xml:id values that qualify the type of textual reuse that holds. Multiple values assume inclusive or (A or B or A and B)

This attribute is inheritable. See the section called “Interpretation of inheritable attributes”

Formal Definition

Used by: ~other-body-attributes, ~alignment-attributes-non-class-2

[Caution]Caution

Every idref in an attribute must point to the @xml:id value of the appropriate corresponding element.

[Caution]Caution

All idrefs in an attribute must be unique.