1 | <?xml version='1.0' encoding='UTF-8'?>
|
---|
2 | <xs:schema targetNamespace="http://www.tempuri.org/ImportedSchema" elementFormDefault="qualified" xmlns:tns="http://www.tempuri.org/ImportedSchema" xmlns:xs="http://www.w3.org/2001/XMLSchema">
|
---|
3 |
|
---|
4 | <xs:complexType name="AnotherType">
|
---|
5 | <xs:sequence>
|
---|
6 | <xs:element name="B">
|
---|
7 | <xs:complexType>
|
---|
8 | <xs:sequence>
|
---|
9 | <xs:element name="MyB" type="xs:string" />
|
---|
10 | </xs:sequence>
|
---|
11 | <xs:attribute name="BID" type="xs:int"/>
|
---|
12 | </xs:complexType>
|
---|
13 | </xs:element>
|
---|
14 | </xs:sequence>
|
---|
15 | </xs:complexType>
|
---|
16 |
|
---|
17 | <xs:element name="AnotherElement" type="tns:AnotherType">
|
---|
18 | <xs:key name="AnotherKey">
|
---|
19 | <xs:selector xpath="tns:B"/>
|
---|
20 | <xs:field xpath="@BID"/>
|
---|
21 | </xs:key>
|
---|
22 | </xs:element>
|
---|
23 |
|
---|
24 | </xs:schema>
|
---|