Creating XML Schema from EDIFACT Messages

 

The EDIFACT to XML Schema document wizard is available only in Stylus Studio XML Enterprise Suite.

Stylus Studio XML Enterprise Suite provides a document wizard that allows you to create XML Schema based on an EDIFACT message, such as the Business Credit Report (BUSCRD) message type.

Setting Wizard Options

In addition to selecting a specific EDIFACT version and message type, Stylus Studio provides the following settings that determine how the XML Schema is generated. You can decide whether or not you want to

  • Include annotations that describe each element.
  • Generate enumerations for fields in the message that have lists of values
  • Substitute "unbounded" for maxOccurs that have a value of 99 or more. Stylus Studio bases maxOccurs values on the loops it detects in the EDIFACT message.

Running the EDIFACT to XML Schema Documentation Wizard

To run the EDIFACT to XML Schema documentation wizard:
1. Select File > Documentation Wizards from the Stylus Studio menu.

The Documentation Wizards dialog box appears.

2. Double-click the EDIFACT to XML Schema icon.

The Create XML Schema from EDIFACT Message Definition dialog box appears.

Figure 264. Create XML Schema from EDIFACT Message Definition

3. If necessary, change the UN/CEFACT version ID. Versions are listed chronologically in ascending order.
4. Change the XML Schema creation options as required. See Setting Wizard Options if you need help with this step.
5. Click OK.

Stylus Studio converts the EDIFACT message you selected in step 3 to XML Schema and opens a new, untitled document in the XML Schema Editor.

Translating XML documents to EDIFACT

In-place, via XSLT and via XQuery are all mechanisms supported for converting XML to EDIFACT

XQuery Tools Support for TigerLogic XDMS

Stylus Studio's integration with the TigerLogic XDMS XQuery processor, allowing you to execute advanced XQuery expressions directly against any TigerLogic XDMS instance.

XSLT Editor

Stylus Studio's XSLT Editor is the most advanced XSLT development tool on the market. This powerful tool provides backmapping, XSLT transformation preview, debugging, peformance profiling, and more!

Accessing Relational Databases as XML with Stylus Studio's File Explorer

This demonstration is the first part of our series on working with relational and XML data, covering how to use Stylus Studio's File Explorer to connect to and query relational database tables as XML.

Stylus Most Wanted

 
Free Stylus Studio XML Training:
W3C Member