templatts

Attribute Group Information

Attributes

QName Type Fixed Default Use Inheritable Annotation
new-scope restriction of xs:NMTOKEN no optional
public restriction of xs:NMTOKEN optional
visibility restriction of xs:NMTOKEN local optional

Used By

Elements procedure, template

Source

<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>