Home >Online Product Documentation >Table of Contents >Generate XML Schema from EDI Standards
You use the Generate XML Schema from EDI Standards dialog box to specify the settings you want Stylus Studio to use to generate XML Schema from an EDI message.
Message
You use the fields in the Message group box to specify information about the EDI standard for which you want to generate an XML Schema.
XML Structure
You use the fields of the XML Structure group box to specify the structure of the XML
UNB01-SyntaxIdentifier versus UNB01, for example.<GROUP> element around transaction messages. This can make message groupings easier to handle with XPath for EDI document with multiple message groups.GROUP_n prefix in the XML element tag. For example, <TS_831_GROUP_1>.value= string in the element tag. For example, <BGN01 value="00"><!--353: Transaction Set Purpose Code--></BGN01>. By default, the data value is output to XML as text (<BGN01><!--353: Transaction Set Purpose Code-->00</BGN01>).decode= string in the element tag. For example, <ISA15 decode="Production Data">. By default, the decoded value is not output to XML.XML Schema Options
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.
maxOccurs values of 100 or greater with "unbounded". This option ensures that the generated XML Schema can be successfully validated by most processors.SEF File - The URI of the Standard Exchange Format (SEF) file, if any, you want to use when generating XML Schema. The SEF file can augment information that Stylus Studio uses to generate 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.