Region Type Properties

Property
Description
Editable
Affects XML
Region Type
The type of the region that currently has focus.
Yes. You can change the region type from this field.
No
Region Element Name
The name you want to assign to this region in the XML output. Optional.
Yes
Yes
Element Name Source
Whether the source for the element names in this region is user-supplied, is taken from the first row in the region, or is based on the WS-EDI standard.
Yes
Yes
Rows to Skip
The number of rows, starting at the beginning of the region, you want to omit from output.
Yes
Yes
Omit from Output
Whether or not you want to omit the entire region from output.
Yes
Yes
Size
The region's size in characters.
No
No
Portion of File
The starting and ending offsets of the current region.
No
No
Row Count
The number of rows in the current region.
No
No
Row Length+
The number of characters in the current row.
No
No
Line Terminator*
The type of line terminator character detected by Stylus Studio.
Yes
No
Separator*
The type of field separator character detected by Stylus Studio.
Yes
No
Delimiter Pairs*
Sets of delimiting characters detected by Stylus Studio.
Yes
No
Comment String
String used by the custom XML conversion definition - if the beginning of a row matches the string in this field, the converter interprets the row as a comment and does not output it in the XML.
Yes
Yes
Escape Characters*
Allows you to distinguish escape characters from separators - if a character in the input file is preceded by an Escape Character, that character is not treated as delimiting character, separator, or subsequent escape character.
Yes
Yes
Toss Characters*
Characters outside delimiting characters that should be ignored.
Yes
Yes
Key=Value Character
Allows you to set the separator for key=value pairs as seen in the input file.
Yes
Yes
Component Separator*
The type of character used to separate sub-fields detected by Stylus Studio. If this character appears in a string, the string is split into sub-fields when the input file is converted to XML.
Yes
Yes
Sub-Component Separator*
The type of character used to separate sub-fields detected by Stylus Studio. If this character appears in a string, the string is split into sub-fields when the input file is converted to XML.
Yes
Yes
Region Terminator
The type of region terminator character detected by Stylus Studio. The region will be processed until this string is encountered; after that point, all remaining data in the region is skipped. The next region, if present, will be handled immediately.
Yes
No
Collapse Consecutive Field Separators*
Whether or not multiple consecutive field separators should be treated as one. For example, if this property is set to Yes, X,,Y,,Z is treated as X,Y,Z. This property is most useful when spaces are used as delimiting characters.
Yes
Yes
Double Delimiter to Escape
Whether or not to treat a pair of delimiting characters within a delimited string as escaped characters. For example, if this property is set to Yes, "abc""xyz" is treated as abc"xyz.
Yes
Yes
Table 28. Region Properties

* This property is for line-oriented regions only.

+ This property is for fixed-width regions only.

 
Free Stylus Studio XML Training: