|
Home > Online Product Documentation > Table of Contents > Defining Fields Defining FieldsYou can define fields in any region in a fixed-width input file, as shown in Figure 188. Once you have defined a field, you can change its size by simply dragging it to any column in the grid.
Each field you define is treated as a separate element in the XML output by the adapter. The input file shown in
Figure 188, for example, would result in XML with two
Consider the following input file:
By default, each row is considered to have a single field, containing
If you specify fields for
Neither approach is always correct, but this feature gives you the ability to define the type of XML output that is appropriate for your use.
To define a field:
1. Place the cursor in the document pane on the character with which you want to start the new field.
2. Click the
Begin Field in This Column (
Stylus Studio displays a thin orange line that identifies the start of the newly defined field. To remove a field:
The procedure for removing a field is the same as the procedure for defining one - place the cursor on any character adjacent to the field line you want to remove and click the
Begin Field in This Column (
Creating Notes for FieldsStylus Studio allows you to create notes on individual fields. These notes are for reference purposes only; they are not output in the XML. To create notes for a field:
1. Click the entry field for the
Notes property.
The Notes dialog box appears.
2. Type the notes you want to associate with the field and click the
OK button.
|
EDIFACT Reference
The EDIFACT Reference is a free developer resource providing the most in-depth information on EDIFACT constructs and data models.
XML Schema Editor
Stylus Studio's XML Schema Editor lets you easily develop advanced data models expressed in W3C XML Schema. Its synchronized split-pane interface shows both a visual XML Schema Diagram and the underlying code, and you can edit in either one.
XML Syntax Help - Intelligent XML Editing
Stylus Studio's XML Editors feature Intelligent XML Schema/DTD-Aware Code Sensing and context sensitive XML code auto-completion. Simplify XML editing with Stylus Studio today.
Berkeley DB XML and Stylus Studio
Develop XML applications for Berkeley DBXML with Stylus Studio integrated tools support for SleepyCat Software's DBXML. Open, Query and Save XML to and from Berkeley DB XML directly from within the Stylus Studio XML IDE.