att.identified

att.identified provides attributes for elements which can be referenced by means of a key attribute.
Module tagdocs — 22 Documentation Elements
Members attDef classSpec constraintSpec elementSpec macroSpec moduleSpec schemaSpec
Attributes In addition to global attributes
ident Supplies the identifier by which this element is referenced.
Status Required
Datatype

<rng:ref name="data.name"/>
data.name
Values an XML name
predeclare Says whether this object should be predeclared in the tei infrastructure module.
Status Optional
Datatype

<rng:data type="boolean"/>
xsd:boolean
module Supplies the name of the module in which this object is to be defined.
Status Optional
Datatype

<rng:data type="NCName"/>
xsd:NCName
Values a name of module
mode specifies the effect of this declaration on its parent module.
Status Optional
Legal values are:
add
this declaration is added to the current definitions [Default]
delete
this declaration and all of its children are removed from the current setup
change
this declaration changes the declaration of the same name in the current definition
replace
this declaration replaces the declaration of the same name in the current definition
Note
The informal meaning of the values for mode is as follows:
add
the object should be created (processing any children in add mode); raise an error if an object with the same identifier already exists
replace
use this object in preference to any existing object with the same identifier, and ignore any children of that object; process any new children in replace mode
delete
do not process this object or any existing object with the same identifier; raise an error if any new children supplied
change
process this object, and process its children, and those of any existing object with the same identifier, in change mode