<xs:attributeGroup name="templatts">
<xs:attribute name="visibility" use="optional" default="local">
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="local"/>
<xs:enumeration value="group"/>
<xs:enumeration value="global"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="public" use="optional">
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="yes"/>
<xs:enumeration value="no"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="new-scope" use="optional" default="no">
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="yes"/>
<xs:enumeration value="no"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<!-- todo: default value of the public attribute for top-level
templates as "yes", for group templates it is "no" -->
</xs:attributeGroup> |