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( ).

 
Free Stylus Studio XML Training:
W3C Member