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