|
|
Home > Online Product Documentation > Table of Contents > Document Grid Document GridThe document grid displays the input file's layout, including spaces, field separators, and control characters. The input file's appearance in the document grid is determined, in part, by its format. This section covers the following topics: Example - .txt Files
Stylus Studio uses slightly different displays for character-separated and fixed-width
Figure 142 shows how this character-separated input file appears in the Convert to XML Editor's document grid. By default, Stylus Studio aligns columns and fills the empty cells of the shorter rows with a light blue to aid readability:
You can remove these spaces from the display and view the file in its native format by clicking the
Align Fields button (
Fixed-width files are displayed in a slightly different fashion. Consider this fixed-width input file:
In a fixed-width file, the empty cells represent actual values (spaces) in the input file. In the second row of this input file, for example, there are three spaces between the first and second columns:
Display of Delimiting and Control CharactersStylus Studio displays delimiting and control characters in a way that distinguishes them from plain text values.
Stylus Studio understands all Unicode characters,. When editing Line-Oriented Region and Field Name values in the Properties window, you can enter mnemonic values for the C1 and C0 control characters in the following ranges:
For example, you could enter
You can hide control characters by clicking the
Toggle Control Characters button (
Document Grid Display FeaturesIn addition to aligning fields in character-delimited files, the Convert to XML Editor's document grid has several other features that aid readability.
To display the ruler, click the
Toggle Ruler button (
Matching rows are displayed in a dark yellow, with a green check in the grid's margin; a red x identifies rows that do not match the patter. To highlight matching rows, click the
Highlight Matching Rows button (
When you define a match pattern, only rows that match the pattern are output to XML. See Filtering Output to learn more about using the Match Pattern property.
To hide horizontal and vertical grid lines, click the
Toggle Horizontal Grid Lines (
Moving Around the GridYou can move the cursor around the grid
|
Airlines, Aerospace and Defense
Want to know what airlines, aerospace and defense companies are soaring high with Stylus Studio 2006? Well now you can! Come check out these leading companies and soar with Stylus Studio 2006 yourself.
The XML Primer: Editing and Validating XML in Stylus Studio
The XML primer demonstrates editing and validating XML in Stylus Studio demonstrates XML editing tools and utilities to simplify working with XML documents. Learn how to automate XML editing operations and troubleshoot XML documents today!
Convert EDIFACT to XML Schema
Convert EDIFACT to XML with Stylus Studio's XML Schema and legacy data integration tools.
XML Generator
Create sample XML instance documents from any XML Schema using the XML Generator. The generated XML document is always valid, well-formed XML!


