bonjour, je veux apeler un xsd dans un autre
le premier est
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlnss="http://www.w3.org/2001/XMLSchema" xmlns="http://www.unece.org/cefact/namespaces/StandardBusinessDocumentHeader"
targetNamespace="http://www.unece.org/cefact/namespaces/StandardBusinessDocumentHeader"
elementFormDefault="qualified" attributeFormDefault="unqualified">
<xs:import namespace="urn:ean.ucc:deliver:2" schemaLocation="ean.ucc/deliver/ReceivingAdvice.xsd"/>
<xs:include schemaLocation="DocumentIdentification.xsd"/>
<xs:include schemaLocation="Partner.xsd"/>
<xs:include schemaLocation="BusinessScope.xsd"/>
<xs:include schemaLocation="Manifest.xsd"/>
<xs:complexType name="StandardBusinessDocumentHeader">
<xs:sequence>
<xs:element name="HeaderVersion" type="xs:string"/>
<xs:element name="Sender" type="Partner" maxOccurs="unbounded"/>
<xs:element name="Receiver" type="Partner" maxOccurs="unbounded"/>
<xs:element name="DocumentIdentification" type="DocumentIdentification"/>
<xs:element name="BusinessScope" type="BusinessScope" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="Receiving">
<xs:sequence>
<xs:element name="HeaderVersion" type="xs:string"/>
<xs:element name="Sender" type="Partner" maxOccurs="unbounded"/>
<xs:element name="Receiver" type="Partner" maxOccurs="unbounded"/>
<xs:element name="DocumentIdentification" type="DocumentIdentification"/>
<xs:element name="BusinessScope" type="BusinessScope" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
<xs:element name="StandardBusinessDocumentHeader" type="StandardBusinessDocumentHeader"/>
<xs:element name="StandardBusinessDocument" type="StandardBusinessDocument"/>
<xs:element name="Receiving" type="Receiving"/>
<xs:complexType name="StandardBusinessDocument">
<xs:sequence>
<xs:element ref="StandardBusinessDocumentHeader" minOccurs="0"/>
<xs:element ref="Receiving" minOccurs="0"/>
<xs:any namespace="##other" processContents="lax"/>
</xs:sequence>
</xs:complexType>
</xs:schema>
le 2eme est
<?xml version="1.0" encoding="UTF-8"?><xsd:schema xmlnssd="http://www.w3.org/2001/XMLSchema" xmlns:deliver="urn:ean.ucc:deliver:2" xmlns:eanucc="urn:ean.ucc:2" attributeFormDefault="unqualified" elementFormDefault="unqualified" targetNamespace="urn:ean.ucc:deliver:2" version="2.1"> <xsd:annotation>
<xsd:documentation>
---------------------------
© Copyright GS1, 2005
GS1 is providing this XML Schema Definition file and resultant XML file as a service to interested industries.
This XML Schema Definition file and resultant XML file were developed through a consensus process of interested parties.
Although efforts have been made to ensure that the XML Schema Definition file and resultant XML file are correct, reliable, and technically
accurate, GS1 makes NO WARRANTY, EXPRESS OR IMPLIED, THAT THIS XML Schema Definition file and resultant XML file ARE
CORRECT, WILL NOT REQUIRE MODIFICATION AS EXPERIENCE AND TECHNOLOGICAL ADVANCES DICTATE, OR WILL BE SUITABLE FOR
ANY PURPOSE OR WORKABLE IN ANY APPLICATION, OR OTHERWISE. Use of the XML Schema Definition file and resultant XML
file are with the understanding that GS1 has no liability for any claim to the contrary, or for any damage or loss of any kind or nature.
Version Information:
Version Number: 2.1
Date of creation: October 2005
The schema and subsequent updates will be provided on the GS1 websites.
---------------------------
</xsd:documentation>
</xsd:annotation>
<xsd:import namespace="urn:ean.ucc:2" schemaLocation="../../ean.ucc/common/DocumentLineReference.xsd"/>
<xsd:import namespace="urn:ean.ucc:2" schemaLocation="../../ean.ucc/common/Quantity.xsd"/>
<xsd:import namespace="urn:ean.ucc:2" schemaLocation="../../ean.ucc/common/Extension.xsd"/>
<xsd:import namespace="urn:ean.ucc:2" schemaLocation="../../ean.ucc/common/DocumentReference.xsd"/>
<xsd:import namespace="urn:ean.ucc:2" schemaLocation="../../ean.ucc/common/PartyIdentification.xsd"/>
<xsd:import namespace="urn:ean.ucc:2" schemaLocation="../../ean.ucc/common/EntityIdentification.xsd"/>
<xsd:import namespace="urn:ean.ucc:2" schemaLocation="../../ean.ucc/common/Document.xsd"/>
<xsd:include schemaLocation="LogisticUnits.xsd"/>
<xsd:include schemaLocation="ReceivingConditionCodeList.xsd"/>
<xsd:include schemaLocation="TradeItemUnit.xsd"/>
<xsd:include schemaLocation="ReportingCodeList.xsd"/>
<xsd:complexType name="ReceivingAdviceItemContainmentLineItemType">
<xsd:complexContent>
<xsd:extension base="deliver:ItemContainmentType">
<xsd:sequence>
<xsd:element name="quantityAccepted" type="eanucc:QuantityType">
</xsd:element>
<xsd:element name="quantityReceived" type="eanucc:QuantityType">
</xsd:element>
<xsd:element name="quantityDespatched" type="eanucc:QuantityType" minOccurs="0">
</xsd:element>
<xsd:element name="despatchAdviceLine" type="eanuccocumentLineReferenceType" minOccurs="0">
</xsd:element>
<xsd:element name="receivingConditionInformation" type="deliver:ReceivingConditionInformationType" minOccurs="0" maxOccurs="unbounded">
</xsd:element>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="ReceivingConditionInformationType">
<xsd:sequence>
<xsd:element name="receivingCondition" type="deliver:ReceivingConditionCodeListType">
</xsd:element>
<xsd:element name="receivingConditionQuantity" type="eanucc:QuantityType">
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="ReceiptInformationType">
<xsd:sequence>
<xsd:element name="receivingDateTime" type="xsd:dateTime">
</xsd:element>
<xsd:element name="despatchAdviceDeliveryDateTime" type="xsd:dateTime" minOccurs="0">
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="ReceivingAdviceLogisticUnitLineItemType">
<xsd:complexContent>
<xsd:extension base="deliver:LogisticUnitsType">
<xsd:sequence>
<xsd:element name="receivingAdviceItemContainmentLineItem" type="deliver:ReceivingAdviceItemContainmentLineItemType" minOccurs="0" maxOccurs="unbounded">
</xsd:element>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="ReceivingAdviceType">
<xsd:complexContent>
<xsd:extension base="eanuccocumentType">
<xsd:sequence>
<xsd:element name="reportingCode" type="deliver:ReportingCodeListType">
</xsd:element>
<xsd:element name="receivingAdviceIdentification" type="eanucc:EntityIdentificationType">
</xsd:element>
<xsd:element name="carrier" type="eanuccartyIdentificationType" minOccurs="0" maxOccurs="unbounded">
</xsd:element>
<xsd:element name="shipTo" type="eanuccartyIdentificationType">
</xsd:element>
<xsd:element name="shipper" type="eanuccartyIdentificationType">
</xsd:element>
<xsd:element name="receiver" type="eanuccartyIdentificationType">
</xsd:element>
<xsd:element name="shipFrom" type="eanuccartyIdentificationType" minOccurs="0">
</xsd:element>
<xsd:choice>
<xsd:element name="receivingAdviceLogisticUnitLineItem" type="deliver:ReceivingAdviceLogisticUnitLineItemType" minOccurs="0" maxOccurs="unbounded">
</xsd:element>
<xsd:element name="receivingAdviceItemContainmentLineItem" type="deliver:ReceivingAdviceItemContainmentLineItemType" minOccurs="0" maxOccurs="unbounded">
</xsd:element>
</xsd:choice>
<xsd:element name="receiptInformation" type="deliver:ReceiptInformationType">
</xsd:element>
<xsd:element name="consignmentIdentification" type="eanucc:ReferenceType" minOccurs="0">
</xsd:element>
<xsd:element name="billOfLadingNumber" type="eanucc:ReferenceType" minOccurs="0">
</xsd:element>
<xsd:element name="despatchAdvice" type="eanuccocumentReferenceType" minOccurs="0">
</xsd:element>
<xsd:element name="extension" type="eanucc:ExtensionType" minOccurs="0">
</xsd:element>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:element name="receivingAdvice" type="deliver:ReceivingAdviceType" substitutionGroup="eanucc:document">
</xsd:element>
</xsd:schema>
Partager