Difference between revisions of "Named Data Template"
Jump to navigation
Jump to search
Petr.Bures (talk | contribs) m |
Petr.Bures (talk | contribs) m |
||
(5 intermediate revisions by the same user not shown) | |||
Line 9: | Line 9: | ||
!Presence | !Presence | ||
!Default | !Default | ||
!Version | |||
|- | |- | ||
|GUID | |GUID | ||
Line 14: | Line 15: | ||
|GUID of the Template | |GUID of the Template | ||
|required | |required | ||
| | |||
| | |||
|- | |- | ||
|Preference of Ident | |Preference of Ident | ||
Line 20: | Line 23: | ||
|optional | |optional | ||
|<code>false</code> | |<code>false</code> | ||
| | |||
|- | |||
|Name specification | |||
|<sup>[[Legend of XML elements|[A]]]</sup> ENUM <code>NameSpecial</code> | |||
|Specification of a name data [[Special named data types|special type]] | |||
|optional | |||
|if not specified, the first data type string | |||
|2024 | |||
|- | |||
|Template name | |||
|<sup>[[Legend of XML elements|[E]]]</sup> <code>Name</code> | |||
|Template Name, used in multi templates | |||
|oprional | |||
|empty | |||
| | |||
|- | |- | ||
|Item | |Item | ||
Line 25: | Line 43: | ||
|List of named data types | |List of named data types | ||
| required | | required | ||
| | |||
| | | | ||
|} | |} | ||
Line 32: | Line 51: | ||
<code><Template GUID="{2BBF3527-B079-423B-9A34-AC5666693C36}" PreferIdent="false"></code> | <code><Template GUID="{2BBF3527-B079-423B-9A34-AC5666693C36}" PreferIdent="false"></code> | ||
<code> <Name Lang="CS" Text="Vrt" /></code> | |||
<code> <Item ID="{F12017FC-9AF4-4866-9FC2-BE7CF40B1A67}" ItemType="String"></code> | <code> <Item ID="{F12017FC-9AF4-4866-9FC2-BE7CF40B1A67}" ItemType="String"></code> | ||
Line 48: | Line 69: | ||
<code></Template></code> | <code></Template></code> | ||
Latest revision as of 22:42, 3 October 2023
Named Data Template defines input of data for various items, e. g. field test, etc.
Template XML definition
Template consists of individual items of various types, documented in detail in Named Data.
Property | XML | Description | Presence | Default | Version |
---|---|---|---|---|---|
GUID | [A] STRING GUID | GUID of the Template | required | ||
Preference of Ident | [A] BOOL PreferIdent
|
Use Identifier in input labels if specified, otherwise use Name | optional | false
|
|
Name specification | [A] ENUM NameSpecial
|
Specification of a name data special type | optional | if not specified, the first data type string | 2024 |
Template name | [E] Name
|
Template Name, used in multi templates | oprional | empty | |
Item | [:E:] Item
|
List of named data types | required |
Example of template XML
<Template GUID="{2BBF3527-B079-423B-9A34-AC5666693C36}" PreferIdent="false">
<Name Lang="CS" Text="Vrt" />
<Item ID="{F12017FC-9AF4-4866-9FC2-BE7CF40B1A67}" ItemType="String">
<Name Lang="CS" Text="Název zkoušky" />
<Settings />
</Item>
<Item ..... />
<Item ..... />
<Item ..... />
</Template>