Field Element Name Properties

Note

 

Each region has its own field and row properties. In addition, some properties apply only to line-oriented regions. These properties are marked with an asterisk.

Property
Description
Editable
Affects XML
Field Element Name
The name you want to use for field elements in the XML output. The default value is field.
Yes
Yes
Component Element Name
The name you want to use for sub-fields detected by Stylus Studio (based on the Component Separator character) in the XML output. The default value is component.
Yes
Yes
Sub-Component Element Name
The name you want to use for sub-fields detected by Stylus Studio (based on the Sub-Component Separator character) in the XML output. The default value is subcomponent.
Yes
Yes
Source Data Type
The data type of the current field. Stylus Studio provides support for the following data types:
String, Boolean, number, date, time, byte, short, integer, long, float, double. Note that some properties are type-specific.
See Type-Specific Properties for information on properties that are associated with specific data types.
No
Yes
Target Data Type
Not currently used.
 
 
Number
The number of the field in which the cursor is located. Starting with 1 from the left-most field.
No
No
Cursor Position
The offset of the cursor's current location from the start of the current field.
No
No
Offset
The offset of the start of the current field. Measured from the start of the row.
No
No
Length
The length of the current field in characters.
No
No
Max Field Length *
The length of the longest of all the instances of this field.
No
No
Value
The value of the current field.
This value also appears in the status bar.
No
No
Table 29. Field Properties

* This property is for line-oriented regions only.

SQL/XML Tutorial

Many developers need to be able to write applications that work for databases from multiple vendors. This SQL/XML Tutorial refers to SQL/XML, XQuery, and Native XML Programming Languages to do just that.

Convert EDIFACT to XML Schema

Convert EDIFACT to XML with Stylus Studio's XML Schema and legacy data integration tools.

Sun Multi-Schema XML Validator (MSV)

Learn how to integrate the Multi Schema Validator (MSV) into Stylus Studio as one of the Custom Validation Engines. It will work for files with a DTD, a single XSD, or both a DTD and a single XSD.

XQuery Profiler

Stylus Studio's XQuery Profiler allows you to benchmark any XQuery expression, and it helps you locate and eliminate performance bottlenecks for maximum XQuery performance.

Stylus Most Wanted

 
Free Stylus Studio XML Training:
W3C Member