November 23, 2016 at 4:09 am
Hello,
I need to generate XML files for a new customer, using standard Electronic Commerce Format they have (https://vefa.difi.no/ehf/)
I have three XSD files - one has compexTypes as below and the other two - their "components".
I know how to use CREATE XML SCHEMA COLLECTION for my simple XSD files, but never had an experience with multiple ones.
Can one point me for some examples, or perhaps kindly advise what I can do, please?
Many thanks!
<?xml version="1.0" encoding="iso-8859-1"?>
<xs:schema xmlns:a="urn:oasis:names:specification:ubl:schema:xsd:Catalogue-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:sdt="urn:oasis:names:specification:ubl:schema:xsd:SpecializedDatatypes-2" xmlns:udt="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2" xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ccts="urn:oasis:names:specification:ubl:schema:xsd:CoreComponentParameters-2" attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="urn:oasis:names:specification:ubl:schema:xsd:Catalogue-2" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:import namespace="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" />
<xs:import namespace="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" />
<xs:element name="Catalogue">
<xs:complexType>
<xs:sequence>
<xs:element ref="cbc:UBLVersionID" />
<xs:element ref="cbc:CustomizationID" />
<xs:element ref="cbc:ProfileID" />
<xs:element ref="cbc:ID" />
<xs:element ref="cbc:ActionCode" />
<xs:element ref="cbc:Name" />
<xs:element ref="cbc:IssueDate" />
<xs:element ref="cbc:VersionID" />
<xs:element ref="cac:ValidityPeriod" />
<xs:element ref="cac:ReferencedContract" />
<xs:element ref="cac:ProviderParty" />
<xs:element ref="cac:ReceiverParty" />
<xs:element ref="cac:SellerSupplierParty" />
<xs:element ref="cac:ContractorCustomerParty" />
<xs:element maxOccurs="unbounded" ref="cac:CatalogueLine" />
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>
Viewing post 1 (of 1 total)
You must be logged in to reply to this topic. Login to reply
This website stores cookies on your computer.
These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media.
To find out more about the cookies we use, see our Privacy Policy