Field TYPE attribute
When Defining fields and tags, the field's Type attribute is usually set to Any content. When exporting fields to XML, however, you may refine your field type specification by choosing one of these options from the drop-down Type list:
Option |
TYPE attribute |
Any content |
ANY |
Alphabetic |
ALPH |
Alphanumeric |
ALNUM |
Numeric |
NUM |
Decimal |
DEC |
Currency |
CUR |
DateDMY |
DMY |
DateMDY |
MDY |
DateYMD |
YMD |
Phone |
TEL |
EML |
|
URL |
URL |
Graphic |
GRA |
When exporting a field of type 'Graphic' to XML, you may choose to output the field as an image in PNG format, see Outputting to XML. The attributes for such a field are:
TYPE="GRA" ENCODING="BASE64" FILETYPE="PNG" X="x coordinate" Y="y coordinate"
BITS="colour depth" WIDTH="image width" HEIGHT="image height"