1<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="attr_group_simple" elementFormDefault="qualified"> 2 <xs:group name="address1"> 3 <xs:sequence> 4 <xs:element name="State" type="xs:string"/> 5 <xs:element name="city" type="xs:string"/> 6 </xs:sequence> 7 </xs:group> 8 <xs:group name="address2" ref="address1"> 9 <xs:sequence> 10 <xs:element name="road" type="xs:string"/> 11 </xs:sequence> 12 </xs:group> 13 <xs:element name="Student"> 14 <xs:complexType> 15 <xs:group ref="address2"/> 16 </xs:complexType> 17 </xs:element> 18</xs:schema> 19