Properties Window

The Properties window, like the one shown in Figure 159, displays information about the input file, as well as settings that Stylus Studio will use convert files to XML.

Information in the Properties window includes

l Information read or inferred from the input file when it is first opened in the Custom XML Conversion Editor. Examples include the file name, file size, and number of characters that were read. Some values, such as the type of encoding, can be edited. Informational fields that cannot be edited are identified with a blue circle: .
l Values you want the XML Converters engine to use when converting this input file and other files of this type to XML. Output properties include the root element name, the namespace and namespace prefix, and the field element name. These fields are identified with a green arrow over a document icon: .

How Properties are Organized

Properties displayed in the Properties window are organized in the following categories:

l Input File - read-only information read or inferred from the input file, and editable properties that affect XML output. These properties affect the file as a whole when it is converted to XML. Input file properties are identified by this icon: .
l XML Output URL - properties that affect the XML document created by the custom XML conversion definition, including the name you want to use for the root element, and whether or not you want to indent the XML. Output URL properties are identified by this icon: .
l Region Type - read-only information inferred from the input file, and editable properties that affect XML output. Examples include line terminating and escape characters. These properties affect a contiguous portion of the file (that is, a given line-oriented or fixed-width region) when it is converted to XML. Region properties are identified by this icon: .
l Row Element Name - properties that affect which rows of the input file are output to XML and how they are output, including the name you want to use for the row. Row properties are identified with this icon: .
l Field Element Name - read-only information read or inferred from the input file, and editable properties that affect XML output. These properties affect only fields in a given region of the file when it is converted to XML. Field properties are identified by this icon: .
 
Free Stylus Studio XML Training: