File (Named Data Type)
Jump to navigation
Jump to search
Used to store file reference in g5zip
file.
Template XML definition
Property | XML | Description | Presence | Default |
---|---|---|---|---|
Settings | [E] Settings
|
required |
Example of Template XML
<Item ID="{AC22EC6A-5404-4A48-B13C-0DDD35DF875C}" ItemType="File">
<Name Lang="CS" Text="Soubor" />
<Settings />
</Item>
Data XML definition
Property | XML | Description |
---|---|---|
File name | [A] FileName
|
FileName with extension defining location of stored data file, relative to Data XML file (with no path if in same folder)
Typically composed with modified GUID and extension e. g. |
File type | [A] FileType
|
File type: {jpg png bmp tif gif pdf }, more will be defined for sounds and videos.
|
Original name | [A] OriginalName
|
Original filename if exists, or empty |
Example of Data XML
<Item ID="{AC22EC6A-5404-4A48-B13C-0DDD35DF875C}" FileName="56BB47892B7B490192489C0ADB213503.jpg" FileType="jpg" OriginalName="" />