Generate XQuery from EDI Standards

You use the Generate XQuery from EDI Standards dialog box to specify the settings you want Stylus Studio to use to generate an XQuery file from an EDI message.



You use the fields in the Message group box to specify information about the EDI standard for which you want to generate XQuery.

XML Structure

You use the fields of the XML Structure group box to specify the structure of the XML

XQuery Generate Options

You use the XQuery Generation Options group box to specify what EDI structures you want represented in the generated XQuery. XQuery resulting from the document wizard is output as an Untitledn.xquery file, where n is a unique number, directly to the Stylus Studio desktop.

Create XML Schema for this EDI Message

In addition to generating XQuery for an EDI message, you can choose to generate an XML Schema for the same message at the same time. The fields in this group box allow you to specify the settings that are used to generate the XML Schema for the selected EDI message.

SEF File - The URI of the Standard Exchange Format (SEF) file, if any, you want to use when generating XML in XQuery and XML Schema files. The SEF file can augment information that Stylus Studio uses to generate XQuery and XML Schema - customized EDI definitions are stored in the SEF file, for example. If the same setting is specified by both the document wizard and the SEF file, the SEF file value is used.

For More Information

The SEF File

Customizing an EDI Standard

Free Stylus Studio XML Training: