|
Home >Online Product Documentation >Table of Contents >Component and Sub-Component Fields Component and Sub-Component FieldsSome file formats - many EDI variants, for example - allow fields to be subdivided into arrays, sub-fields, or composite fields. Collectively, these fields are referred to as component fields in custom XML conversion definitions. Typically, the headers of these files contain information about the character used to specify component fields. Stylus Studio uses this information to set the default value for the Field Component Separator property and render XML output accordingly. Consider the following input file, which uses a semi-colon (;) to specify component fields:
Using the first row to supply the field names and default Component Element Name (
The For line-oriented regions in files containing component fields, you can change the default Field Component Separator property, and the Component Element Name and Component Element Name properties, that is, the name you want to use for the component fields' container elements. |
Varying Record Layout to XML
Not every row in a text file has to have the same layout. Convert to XML has advanced pattern-recognition tools to route the data to where it belongs.
XML Differencing
Stylus Studio's integrated XML Differencing tool visually computes and analyzes any changes made to files or folders in a highly configurable, XML-aware fashion. Display text or tree views, with changes displayed in a merged view or side-by-side!
EXSLT Tools
EXSLT support in Stylus Studio lets you extend XSLT 1.0 stylesheets and simplify many tasks including computing dates and times, performing mathematical computations, string manipulations and more.
XPath Generator
Stylus Studio includes an XPath generator that helps you easily create XPath expressions. This page illustrates how you can accomplish this.