1 <?xml version="1.0" encoding="UTF-8"?> 2 <xsd:schema 3 xmlns="IdConstrDefs/targetNS" 4 xmlns:xsd="http://www.w3.org/2001/XMLSchema" 5 targetNamespace="IdConstrDefs/targetNS"> 6 7 <xsd:include schemaLocation="targetNS00101m2a.xsd"/> 8 9 <xsd:element name="root"> 10 <xsd:complexType> 11 <xsd:sequence maxOccurs="unbounded"> 12 <xsd:element name="person"/> 13 </xsd:sequence> 14 </xsd:complexType> 15 <xsd:key name="KEY"> 16 <xsd:selector xpath="./person"/> 17 <xsd:field xpath="."/> 18 </xsd:key> 19 <xsd:keyref name="KEYREF" refer="KEY"> 20 <xsd:selector xpath="./person"/> 21 <xsd:field xpath="@parent"/> 22 </xsd:keyref> 23 </xsd:element> 24 25 </xsd:schema>