The required n attribute is the number of hatching styles in this set.
Source
<xs:element name="HatchStyleSet" type="HatchStyleSetType"><xs:annotation><xs:documentation>The global HatchStyleSet element is a collection of hatch styles.</xs:documentation></xs:annotation></xs:element>