Hi
I have to import this XYZ.xsd as an External definations. Importing it is no problem, but this XYZ.xsd has some references of another ABC.xsd file which is another separted xsd file.
This is the <xs:include schemaLocation="ABC.xsd"/>. where it is calling or referencing the 2nd xsd(ABC.xsd).
So the question is, how do i link both the xsds, i am using pi 7.1
<?xml version="1.0" encoding="UTF-8"?>
http://www.ABC.org/Retail-EDI/Vocabulary/2003-10-16" elementFormDefault="qualified" attributeFormDefault="unqualified" xmlns:xs=" http://www.w3.org/2001/XMLSchema" xmlns:pcats=" http://www.ABC.org/Retail-EDI/Vocabulary/2003-10-16">
<xs:include schemaLocation="ABC.xsd"/>
<xs:element name="ABC-Acknowledgment">
<xs:complexType>
<xs:sequence>
<xs:element ref="pcats:field1"/>
<xs:element ref="pcats:field2"/>
<xs:element ref="pcats:field3" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
<xs:attribute name="version" type="xs:string" fixed="1.5"/>
</xs:complexType>
</xs:element>
<xs:element name="RejectedElement">
<xs:complexType>
<xs:sequence maxOccurs="unbounded">
<xs:element ref="pcats:field1"/>
<xs:element ref="pcats:field2"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>
Thanks
SG