XML Editor
Sign up for a WebBoard account Sign Up Keyword Search Search More Options... Options
Chat Rooms Chat Help Help News News Log in to WebBoard Log in Not Logged in
Show tree view Topic
Topic Page 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Go to previous topicPrev TopicGo to next topicNext Topic
Postnext
toadie d.Subject: Generating EDIFACT Schema & UNG Segment
Author: toadie d.
Date: 11 May 2006 07:39 PM
How can I generate (via Document Wizard) an EDIFACT Schema that also has a definition for the UNG Segment?
Thanks.

Postnext
Tony LavinioSubject: Generating EDIFACT Schema & UNG Segment
Author: Tony Lavinio
Date: 12 May 2006 10:26 AM
The EDIFACT to XSD wizard doesn't current support UNE/UNG; a future
version will.

Postnext
toadie d.Subject: Generating EDIFACT Schema & UNG Segment
Author: toadie d.
Date: 12 May 2006 11:24 AM
Tony,

I have 2 follow up questions:

1. I assume it's possible to extend the XSD by hand coding it. Would you have any tips or samples for that?

2. Can EDIFACT serialize an XML document that has UNG segment into EDIFACT in the current version?

Thanks.

Posttop
Tony LavinioSubject: Generating EDIFACT Schema & UNG Segment
Author: Tony Lavinio
Date: 16 May 2006 11:43 AM
>Tony,
>
>I have 2 follow up questions:
>
>1. I assume it's possible to
>extend the XSD by hand coding
>it. Would you have any tips or
>samples for that?

We will most likely generate the following XSD in the future,
using ORDERS from D04B as an example:

<xsd:element name="UNB" type="UNB" minOccurs="1" maxOccurs="1"/>
<xsd:sequence minOccurs="1" maxOccurs="unbounded">
<xsd:choice minOccurs="1" maxOccurs="1">
<xsd:element name="ORDERS" type="ORDERS" minOccurs="1" maxOccurs="unbounded"/>
<xsd:sequence>
<xsd:element name="UNG" type="UNG" minOccurs="1" maxOccurs="1"/>
<xsd:element name="ORDERS" type="ORDERS" minOccurs="1" maxOccurs="unbounded"/>
<xsd:element name="UNE" type="UNE" minOccurs="1" maxOccurs="1"/>
</xsd:sequence>
</xsd:choice>
</xsd:sequence>
<xsd:element name="UNZ" type="UNZ" minOccurs="0" maxOccurs="1"/>

it's possible that the final result will vary; the biggest question
is whether we wrap the UNG/message/UNE in a <GROUP> element or not.

>2. Can EDIFACT serialize an
>XML document that has UNG
>segment into EDIFACT in the
>current version?

Surprisingly enough, yes, that works.

 
Topic Page 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Go to previous topicPrev TopicGo to next topicNext Topic
Download A Free Trial of Stylus Studio 6 XML Professional Edition Today! Powered by Stylus Studio, the world's leading XML IDE for XML, XSLT, XQuery, XML Schema, DTD, XPath, WSDL, XHTML, SQL/XML, and XML Mapping!  
go

Log In Options

Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio® and DataDirect XQuery ™are from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2016 All Rights Reserved.