Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

XML Schema notation Element

XML Schema notation Element


XML Schema Reference Manual Complete XML Schema Reference Manual

Definition and Usage

The notation element describes the format of non-XML data in an XML document.

Element Information

Syntax

id=ID

name=NCName

public=anyURI

system=anyURI

any attributes

(annotation?)

(The ? symbol declares that within the notation element, the element can appear zero or one time.)

property Description
id Optional. Specifies a unique ID for the element.
name Required. Specifies a name for the element.
public Required. A URI reference corresponding to the public identifier.
system A URI reference corresponding to the system identifier.
any attributes Optional. Specifies any other attributes with a non-schema namespace.

Example 1

The following example uses a viewing application, view.exe, to display notations in gif and jpeg formats:

  xs:complexType

    xs:simpleContent

      

        xs:simpleType

          

            

            

          

        

      

    

  

The "image" element in the document looks like this:


XML Schema Reference Manual Complete XML Schema Reference Manual