Choosing an Input File

The first step of creating an adapter is to select an input file.

Figure 160. Specify Input File Type Manually or Let Stylus Studio Decide

The input file can be any type. If you are planning to use the adapter to convert other non-XML files of this type, the input file should be representative of that broader class of files - files with the same extension ( .txt or .edi, for example), encoding, numbers and types of regions, and so on. You can always fine-tune the adapter to accommodate characteristics that are not embodied in the input file, but as a general rule, use a file that is as close to others of its type as possible.

Note

 

File systems that return only XML files, such as Sleepycat Software's Berkeley DB XML, do not appear when you browse for input files using the Open dialog box( ).

Web Service Data Mapping

Stylus Studio makes it possible for you to use Web services as live XML data sources for XML mapping projects.

XML Project

Stylus Studio's Project Window is an intuitive, visual feature for organizing files belonging to a project. It supports different file-type icons and nested folders; many helpful options are available from the context menu.

Introduction to the XQuery Mapper

This free online video demonstration covers Stylus Studio's synchronized XQuery editing and mapping tool which allows you to create any XQuery expression, either manually using Stylus Studio's XQuery editor.

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.

Stylus Most Wanted

 
Free Stylus Studio XML Training:
W3C Member