import-455953.xsd 808 B

123456789101112131415161718192021222324
  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. <xs:complexType name="AnotherType">
  4. <xs:sequence>
  5. <xs:element name="B">
  6. <xs:complexType>
  7. <xs:sequence>
  8. <xs:element name="MyB" type="xs:string" />
  9. </xs:sequence>
  10. <xs:attribute name="BID" type="xs:int"/>
  11. </xs:complexType>
  12. </xs:element>
  13. </xs:sequence>
  14. </xs:complexType>
  15. <xs:element name="AnotherElement" type="tns:AnotherType">
  16. <xs:key name="AnotherKey">
  17. <xs:selector xpath="tns:B"/>
  18. <xs:field xpath="@BID"/>
  19. </xs:key>
  20. </xs:element>
  21. </xs:schema>