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.

Fields

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

Improving XSLT and XQuery Performance with Stylus Studio

This online video demonstration covers XQuery and XSLT performance tuning using the Stylus Studio XSLT profiler and the XQuery profiler.

Convert DTD to XSD

learn how to convert DTD to XML Schema

Text File to XML

Stylus Studio provides several easy-to-use document wizards that allow you to quickly convert text files to XML. Create XML from text and EDI, create XML Schema from EDIFACT, and more!

Translating EDIFACT Documents to XML

The EDIFACT to XML Converter is a primary component of the adapter library. The XML that is generated is well commented and indented, and can be used anywhere XML is normally used — with XML Schemas, XQuery, XSLT, and so on.

Stylus Most Wanted

 
Free Stylus Studio XML Training:
W3C Member