<xsd:attributeGroup name="attr.resourcetype.req"> <xsd:attribute name="type" use="required" type="xsd:string"/> </xsd:attributeGroup>