Property
|
Applies to Data Type
|
Description
|
Affects XML
|
Architecture
|
BCD
|
Specifies the architecture type for Binary Coded Decimal (BCD).
|
Yes
|
Base
|
Number
|
The numeric base of the number. Decimal (base 10) is assumed by default, but base 2 through base 36 are recognized.
|
Yes
|
`C' rules for octal and hex
|
Number
|
Determines how numeric values are treated. If this property is set to True and the value begins with 0x, the value is treated as hexadecimal (base 16). If the value begins with 0, it is treated as octal (base 8). Otherwise, it is treated as base 10.
|
Yes
|
Decimal
|
Number
|
The decimal separator character. Defaults to the standard platform symbol, which is typically a period or comma.
|
Yes
|
Endian
|
Double, Float, Integer, Long,
Short
|
Determines whether the first byte in binary multi-byte values is the least significant (Little) or the most significant (Big). The default is Little, which is the native mode on Stylus Studio platforms.
|
Yes
|
l False Output As
l True Output As
l Unknown Output As
|
Boolean
|
Strings output based on matching strings specified in the False Value Match List and True Value Match List.
|
Yes
|
l False Value Match List
l True Value Match List
|
Boolean
|
Semicolon-separated lists of values. If the field value matches a string specified in the False Value Match List, the string specified in the False Output As property is output; likewise for values that match those specified in the True Value Match List.
If there are no matches with either the false or true match lists, the value specified in the Unknown Output As property is output.
|
Yes
|
Format
|
Date
|
Specifies the order of the day, month, and year in date strings. Convert to XML can determine date format if names are used for months.
Dates are recognized in many formats, with and without delimiting characters, including:
|
Yes
|
l Left Padding
l Right Padding
|
Boolean, Date, Number, String, Time
|
Allows you to specify characters you want removed from the left and right sides, respectively, of a field. Applies to characters within delimiting characters.
|
Yes
|
Lookup List
|
All
|
Allows you to specify a list of lookups and associated values. Values are substituted for the lookup when the input file is converted to XML.
|
Yes
|
Normalize White Space
|
String
|
Converts any tabs, linefeeds, or carriage returns to spaces. Also removes leading and trailing white space and collapses consecutive white space characters to a single space. The default is False.
|
Yes
|
Notes
|
All
|
Allows you to add internal comments for a field.
|
No
|
Omit from Output
|
All
|
Allows a field to be omitted from XML output based on its presence or value. Valid values include:
l Only When Empty. This is the default.
l When Empty or Zero.
l Always
l Never
|
Yes
|
Packed
|
BCD
|
For Binary Coded Decimal (BCD) fields, whether or not it is packed.
|
Yes
|
Scaling Factor(10^n)
|
BCD,
Byte, Comp3,
Double, Float, Integer, Long, Number, Short,
Zoned
|
Scales a number by moving the decimal point. Use a positive value to move the decimal point to the left; use a negative value to move the decimal point to the right. To enter a scaling factors from 10
-16 to 10
16, just enter the exponent value.
Example: Entering an exponent of 3 will cause any numbers to be multiplied by 1000 (10
3) before being output to XML.
|
Yes
|
Separator
|
Date,
Time
|
Character used to separate date and time components. Date values commonly use spaces, slashes, dashes, and periods; time values commonly use colons, periods, and spaces. The platform setting is used by default.
|
Yes
|
Signed
|
Byte, Integer, Long,
Short
|
Whether the numeric form is signed or unsigned.
|
Yes
|
Thousands Separator
|
Number
|
Character used to separate thousands. Typically a comma, though periods, spaces, and other characters can be used. Defaults to the platform symbol.
|
Yes
|
Use Currency Conventions
|
Number
|
Determines whether values are treated as positive or negative. If the value contains DR or DB (or dr or db), it is treated as positive. If it contains CR or cr, or is surrounded by parentheses, it is treated as a negative.
|
Yes
|
Window for Two-Digit Years
|
Date
|
Allows you to specify the century start-date for years that use a two-digit format. For example, if you enter 1950, years with a value from 50-99 will be output as 1950-1999; years with a value of 00-49 will be output as 2000-2049.
|
Yes
|
XML Output Form
|
All
|
Whether to output the current row value as a child element or attribute of the <row> element. The default is element. If this field is set to True, components and subcomponents within that value are not recognized, so the entire field is used as the attribute value, instead of being broken up.
|
Yes
|
Table 30. Type-Specific Properties