Stylus Studio EDI To XML module has been enhanced to support the new XML Converter Generic Dialect which is designed to facilitate conversions of a variety of file formats (fixed-width and line oriented), using an EDI based approach which breaks a format into messages, segments and elements.
New EDI to XML Conversion Dialog
When creating a new EDI To XML Conversion, Stylus Studio gives to the user the opportunity to load a sample data file to bootstrap the conversion. The auto detect algorithm has been enhanced to fall back to the Generic dialect when all attempts to detect well-known EDI formats fail.
Once the user clicks OK on the “Specify EDI Dialect” dialog, the dialect and version get set. When the user clicks OK on the “New EDI to XML Conversion” dialog, Stylus Studio executes a discovery algorithm that tries to create a SEF skeleton based on the sample data and initializes the URI field with the appropriate properties to engage the generic dialect. In addition to the dialect and the version, the message property is also set to instruct the converter on which message it should expect to parse.
Segment LAYOUT properties
The Segment properties have been enhanced with a new property set named Layout. The new property set features three new properties.
Parse Mode defines how a segment should be interpreted: Fixed-width, delimited by a separator or matched by a regular expression.
The Line Length
property is a numerical value that instructs the engine how many characters it
should expect to find in a segment. This property plays a role when parse mode
is set to Fixed-width.
All new properties are wired into the UNDO architecture. After changing a value, the user can rollback using CTRL + Z and CTRL + Y for REDO.
Built-in Data Types
The XML Converts type system has been enhanced with several new data types. This allows the user to perform a more precise lexicographic analysis.
Each data type provides a very granular control though a dedicated property set. In the screenshot below we can see the String type and its properties. The Format property set has been introduced specifically for the Generic Dialect.
Canvas Color Rendering
Stylus Studio canvas rendering has been enhanced to trap new events generated by the Generic Dialect. In the following screenshot, you can see three different states: green when a segment and its fields fully match the definitions, blue and gray when a segment was matched but not all its fields are recognized, and red when the data is interpreted as unknown.
Ensure reference Consistency
When working with the Generic Dialect, the process of defining new segments and elements are very iterative by nature. It‘s common to rename objects to better fit the data semantic.
To provide the best experience, Stylus Studio has been enhanced to make sure that every time the user renames a segment or an element, all references are automatically updated in the data model and live in the EDI Tree Structure. In addition, the renaming operation and reference update has been wired in the UNDO architecture.
PURCHASE STYLUS STUDIO ONLINE TODAY!!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Try Stylus Powerful XQuery IDE
Download a free trial of our award-winning IDE for XQuery today!
What's New for Stylus Studio® X16?
New XQuery & Web Services Tools, Support for MySQL, PostgreSQL, HL7 EDI, Microsoft .NET Code Generation and much more!
Top Ten XQuery Trends
Read about the top 10 XQuery Trends and how they will impact change the way enterprise software applications are built.