<xs:schema xmlns:nm = "http://nomagic.com" xmlns:xs = "http://www.w3.org/2001/XMLSchema" targetNamespace = "http://nomagic.com"
<xs:attributeGroup name = "global_attr_group">
<xs:attribute name = "address" type = "xs:string" />
</xs:attributeGroup>
<xs:attributeGroup name = "attr_group_name" >
<xs:annotation>
<xs:documentation>attribute group documentation</xs:documentation>
</xs:annotation>
<xs:attribute name = "surname" type = "xs:string"/>
<xs:attribute name = "name" type = "xs:string" >
<xs:annotation >
<xs:documentation >name attribute documentation</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attributeGroup ref = "nm:global_attr_group2" >
<xs:annotation >
<xs:documentation >reference documentation</xs:documentation>
</xs:annotation>
</xs:attributeGroup>
<xs:anyAttribute />
</xs:attributeGroup>
<xs:attributeGroup name = "global_attr_group2" >
<xs:attribute name = "city" type = "xs:string"/>
</xs:attributeGroup>
</xs:schema>