MTF Elements
- <concept>
- Primary element of a conceptGrp. Content is the entry number.
syntax: <concept >
ui4 datatype </concept>content: ui4 datatype order: Ignored when a datatype is specified. parents: conceptGrp children: No children allowed when a datatype is specified. attributes: (none) model: Treated as closed when a datatype is specified. source: <ElementType name="concept" content="textOnly" model="closed" dt:type="ui4"> <description>Primary element of a conceptGrp. Content is the entry number.</description> </ElementType>
- <conceptGrp>
- The container for one concept. A concept has concept-level, language-independent fields, and at least one language group, which contains at least one term.
syntax: <conceptGrp>
many <concept>
[ <system> ] *
[ <transacGrp> ] *
[ <descripGrp> ] *
<languageGrp> +
</conceptGrp>
content: eltOnly order: many parents: mtf children: concept, descripGrp, languageGrp, system, transacGrp attributes: (none) model: closed source: <ElementType name="conceptGrp" content="eltOnly" order="many" model="closed"> <description>The container for one concept. A concept has concept-level, language-independent fields, and at least one language group, which contains at least one term. </description> <element type="concept" minOccurs="1" maxOccurs="1"/> <!-- contains concept-level info and languages --><element type="system" minOccurs="0" maxOccurs=""/><element type="transacGrp" minOccurs="0" maxOccurs=""/><element type="descripGrp" minOccurs="0" maxOccurs=""/><element type="languageGrp" minOccurs="1" maxOccurs=""/> </ElementType>
- <date>
- A date in ISO-8601:1988 format, as implemented by MSXML2.
syntax: <date >
dateTime datatype </date>content: dateTime datatype order: Ignored when a datatype is specified. parents: transacGrp children: No children allowed when a datatype is specified. attributes: (none) model: Treated as closed when a datatype is specified. source: <ElementType name="date" content="textOnly" dt:type="dateTime" model="closed"> <description>A date in ISO-8601:1988 format, as implemented by MSXML2.</description> </ElementType>
- <descrip>
- Contains a descriptive, free-text element like a definition or a subject field. Content is formatted text, and the tag can carry a link attribute (link to concept, term, subject tree, graphics file, URL).
syntax: <descrip [ Clink = string ] [ Glink = string ] [ Plink = string ] [ Slink = string ] [ Tlink = string ] [ type = string ] [ Ulink = string ] >
(many) [ <xref> ] * mixed content </descrip>content: mixed order: many (default) parents: descripGrp children: xref attributes: Clink, Glink, Plink, Slink, Tlink, type, Ulink model: closed source: <ElementType name="descrip" content="mixed" model="closed"> <description>Contains a descriptive, free-text element like a definition or a subject field. Content is formatted text, and the tag can carry a link attribute (link to concept, term, subject tree, graphics file, URL). </description> <element type="xref" minOccurs="0" maxOccurs=""/> <attribute type="type" required="yes"/> <attribute type="Clink"/> <attribute type="Glink"/> <attribute type="Plink"/> <attribute type="Slink"/> <attribute type="Tlink"/> <attribute type="Ulink"/> </ElementType>
- <descripGrp>
- Contains a descriptive element, and optionally a source, transactional info, and a note.
syntax: <descripGrp >
<descrip many [ <transacGrp> ] * [ <descripGrp> ] * </descripGrp>content: eltOnly order: many parents: conceptGrp, descripGrp, languageGrp, termGrp children: descrip, descripGrp, transacGrp attributes: (none) model: closed source: <ElementType name="descripGrp" content="eltOnly" order="many" model="closed"> <description>Contains a descriptive element, and optionally a source, transactional info, and a note. </description> <element type="descrip" minOccurs="1" maxOccurs="1"/> <element type="transacGrp" minOccurs="0" maxOccurs=""/> <element type="descripGrp" minOccurs="0" maxOccurs=""/> </ElementType>
- <language>
- A language specifier. The type attribute holds the "name" of the language as specified in the database definition, the lang attribute the locale in the form "en_us".
syntax: <language
[ lang = string ] [ type = string ] />content: empty order: seq parents: languageGrp children: (none) attributes: lang, type model: open (default) source: <ElementType name="language" content="empty" order="seq"> <description>A language specifier. The type attribute holds the "name" of the language as specified in the database definition, the lang attribute the locale in the form "en_us". </description> <attribute type="type" required="yes"/> <attribute type="lang" required="yes"/> </ElementType>
- <languageGrp>
- The container for information about all terms in one language.
syntax: <languageGrp >
many <language>
[ <transacGrp> ] *
[ <descripGrp> ] *
<termGrp> +
</languageGrp >
content: eltOnly order: many parents: conceptGrp children: descripGrp, language, termGrp, transacGrp attributes: (none) model: closed source: <ElementType name="languageGrp" content="eltOnly" order="many" model="closed"> <description>The container for information about all terms in one language.</description> <element type="language" minOccurs="1" maxOccurs="1"/> <element type="transacGrp" minOccurs="0" maxOccurs=""/> <element type="descripGrp" minOccurs="0" maxOccurs=""/> <element type="termGrp" minOccurs="1" maxOccurs=""/> </ElementType>
- <mtf>
- The root node of an MTF document. A document must contain at least one concept.
syntax: <mtf>
seg < conceptGrp > + </mtf >
content: eltOnly order: seq parents: No parents found. This is probably the document element. children: conceptGrp attributes: (none) model: closed source: <ElementType name="mtf" content="eltOnly" order="seq" model="closed"> <description>The root node of an MTF document. A document must contain at least one concept. </description> <element type="conceptGrp" minOccurs="1" maxOccurs=""/> </ElementType>
- <system>
- Contains system-maintained information like the old entry class and the approval status of a concept, language or term. The type attribute can be one of "entryClass" and "status".
syntax: <system
type = enumeration: entryClass | status
>
textOnly content </system>content: textOnly order: many (default) parents: conceptGrp children: No children allowed when content is textOnly. attributes: type model: closed source: <ElementType name="system" content="textOnly" model="closed"> <description>Contains system-maintained information like the old entry class and the approval status of a concept, language or term. The type attribute can be one of "entryClass" and "status". </description> <AttributeType name="type" dt:type="enumeration" dt:values="entryClass status" required="yes"> <description>A system tag can be of type entryClass (values 1-8, inherited from old MTW databases) or type status (values: new, reviewed, approved).</description> </AttributeType> <attribute type="type" required="yes"/> </ElementType>
- <term>
- Contains a term as plain text. Note: we have requests for storing formatted terms containing sub- and superscript for mathematical and chemical formulae. This should be decided soon, IMHO it's doable.
syntax: <term> textOnly content </term>
content: textOnly order: many (default) parents: termGrp children: No children allowed when content is textOnly. attributes: (none) model: closed source: <ElementType name="term" content="textOnly" model="closed"> <description>Contains a term as plain text. Note: we have requests for storing formatted terms containing sub- and superscript for mathematical and chemical formulae. This should be decided soon, IMHO it's doable. </description> </ElementType>
- <termGrp>
- Groups one term and all its associated information, which can be descriptions, source references, notes, and transactional information.
syntax: <termGrp>
many <term>
[ <transacGrp> ] *
[ <descripGrp> ] *
</termGrp>
content: eltOnly order: many parents: languageGrp children: descripGrp, term, transacGrp attributes: (none) model: closed source: <ElementType name="termGrp" content="eltOnly" order="many" model="closed"> <description>Groups one term and all its associated information, which can be descriptions, source references, notes, and transactional information. </description> <element type="term" minOccurs="1" maxOccurs="1"/> <element type="transacGrp" minOccurs="0" maxOccurs=""/> <element type="descripGrp" minOccurs="0" maxOccurs="*"/> </ElementType>
- <transac>
- Contains a transaction type and responsible person. The type can be one of origination, modification. The content of the tag is the textual representation of the associated person link (Plink), i.e., the person's user id.
syntax: <transac
[ Plink = string ] type = enumeration: origination | modification
>
textOnly content </transac>content: textOnly order: many (default) parents: transacGrp children: No children allowed when content is textOnly. attributes: Plink, type model: closed source: <ElementType name="transac" content="textOnly" model="closed"> <description>Contains a transaction type and responsible person. The type can be one of origination, modification. The content of the tag is the textual representation of the associated person link (Plink), i.e., the person's user id. </description> <AttributeType name="type" dt:type="enumeration" dt:values="origination modification" required="yes"> <description>A transac tag can be of type origination (the associated field has been created) or type modification (the associated field has been modified).</description> </AttributeType> <attribute type="type" required="yes"/> <attribute type="Plink"/> </ElementType>
- <transacGrp>
- Contains a transaction and date, and optionally a note.
syntax: <transacGrp>
many <transac>
<date>
</transacGrp>
content: eltOnly order: many parents: conceptGrp, descripGrp, languageGrp, termGrp children: date, transac attributes: (none) model: closed source: <ElementType name="transacGrp" content="eltOnly" order="many" model="closed"> <description>Contains a transaction and date, and optionally a note.</description> <element type="transac" minOccurs="1" maxOccurs="1"/> <element type="date" minOccurs="1" maxOccurs="1"/> </ElementType>
- <xref>
- Contains a descriptive, free-text element like a definition or a subject field. Content is formatted text, and the tag can carry a link attribute (link to concept, term, subject tree, graphics file, URL).
syntax: <xref
[ Tlink = string ] > textOnly content </xref>content: textOnly order: many (default) parents: descrip children: No children allowed when content is textOnly. attributes: Tlink model: closed source: <ElementType name="xref" content="textOnly" model="closed"> <description>Contains a descriptive, free-text element like a definition or a subject field. Content is formatted text, and the tag can carry a link attribute (link to concept, term, subject tree, graphics file, URL). </description> <attribute type="Tlink" required="yes"/> </ElementType>
Parent topic: XML Schema: MTF