Home >
Online Product Documentation >
Table of Contents >
Convert to XML Editor
Convert to XML Editor
|
|
|
The Convert to XML Editor is available only in Stylus Studio XML Professional Edition.
|
You use the Convert to XML Editor to define converters you use to convert flat files (
.txt, binary, and EDI, for example) to XML documents. You can use converters to open flat files as XML documents anywhere in Stylus Studio.
The Convert to XML Editor consists of a grid display that allows you to see how Stylus Studio has interpreted the file on which you are basing the converter. The
Properties window allows you to review and edit properties that affect how the converter creates XML output from the file you open it with.
Preview Result - Displays XML output based on current converter settings.
Open File - Allows you to open a new file on which you wish to base a converter.
Reload Input File - Allows you to reload the current file in the Convert to XML Editor.
Toggle Navigational Properties - By default, properties in the Properties window that help you move the focus in the document grid are hidden. This button lets you show/hide them.
Highlight Matching Rows - Highlights the rows that match the regular expression you enter in the
Match Pattern property; this field acts as a filter - rows that match the pattern you enter are not output as XML.
Toggle Control Characters - Toggles the display of control characters in the document grid.
Toggle Ruler - Toggles the display of the ruler in the document grid.
Align Fields - In line-oriented regions, aligns fields in the document grid by removing spaces Stylus Studio adds for readability. Affects display only.
Toggle Horizontal Grid Lines - Toggles the display of horizontal grid lines in the document grid.
Toggle Vertical Grid Lines - Toggles the display of vertical grid lines in the document grid.
Convert to Fixed-Width Region - Converts a line-oriented region to a fixed-width region.
Convert to Line-Oriented Region - Converts a fixed-width region to a line-oriented region.
Begin Field In This Column - In a fixed-width region, allows you define the start of a new field.
Start New Line-Oriented Region Here - Defines a new line-oriented region starting at the cursor's present location.
Start New Fixed-Width Region Here - Defines a new fixed-width region starting at the cursor's present location.
Join With Previous Region - Joins the current region with the previous region in the file.
Join With Next Region - Joins the current region with the next region in the file.
The Convert to XML Editor
Creating a Convert to XML Converter
Chapter 3Converting Non-XML Files to XML