The NOTATION data type represents the NOTATION attribute type of XML 1.0 Second Edition : NOTATION « XML Schema « XML Tutorial






<notation id="ID"
     name="NCName"
     public="anyURI"
     system="anyURI"
     {any attributes with non-schema namespace}
>
  Content: (annotation?)
</notation>



<!-- schema -->
<xsd:notation name="swf" public="image/swf" system="SWF_viewer.exe"/>
<xsd:element name="myAnimation">
  <xsd:complexType>
   <xsd:complexContent>
    <xsd:extension base="xsd:anyType">
     <xsd:attribute name="note" type="notationType"/>
    </xsd:extension>
   </xsd:complexContent>
  </xsd:complexType>
</xsd:element>
<xsd:simpleType name="notationType">
  <xsd:restriction base="xsd:NOTATION">
   <xsd:enumeration value="swf"/>
   <xsd:enumeration value="fla"/>
  </xsd:restriction>
</xsd:simpleType>

<!-- instance document -->
<myAnimation note="swf">Schema Lesson</myAnimation>








3.38.NOTATION
3.38.1.The NOTATION data type represents the NOTATION attribute type of XML 1.0 Second Edition