Properties Window

The Properties window, like the one shown in Figure 148, displays several types of information about the input file and about the XML that will be output by the Convert to XML converter.

Figure 148. Properties Window for a .txt File

Information in the Properties window includes

  • Information read from the input file when it was first opened in the Convert to XML Editor. Examples include the file name, file size, and number of characters that were read. Some values read from the input file, such as the type of encoding, can be edited.
  • Values you want the Convert to XML converter to use when converting this input file and other files of this type to XML. Output properties include the root element name, the namespace and namespace prefix, and the field element name.
  • Information about the current location of the cursor inside the document grid, such as the cursor's position in the file, the region in which the cursor is located, and the Unicode value of the field in which the cursor is located. Many navigational properties, such as Field Offset, are editable and allow you to "jump" to the document location you specify in the property field.

How Properties are Organized

Properties are organized in the following categories:

  • Input File - read-only information gathered from the input file, and editable properties that affect XML output. These fields affect the file as a whole when it is converted to XML.
  • Region (fixed-width or line-oriented) - read only information gathered from the input file, editable properties that affect XML output, and navigational properties. These fields affect a contiguous portion of the file when it is converted to XML.
  • Field Name - read only information gathered from the input file, editable properties that affect XML output, and navigational properties. These fields affect only fields in a given region of the file when it is converted to XML.

Input File and Field Name properties are always displayed by default. Navigational properties appear only when you click the Toggle Navigational Properties ( ) button.

Properties for Fixed-Width and Line-Oriented Input Files

Fixed-width and line-oriented input files have different properties - line-oriented properties include the line terminator and field separator characters, and fixed-width files have a row length, for example. See Properties Reference to learn more about individual properties.

 
Free Stylus Studio XML Training: