Export (0) Print
Expand All

<xsd:notation> Element

Contains the definition of a notation to describe the format of non-XML data within an XML document. An XML Schema notation declaration is a reconstruction of XML 1.0 NOTATION declarations.

<notation
  id = ID
  name = NCName 
  public = Public identifier per ISO 8879
  system = anyURI
  {any attributes with non-schema Namespace}...>
Content: (annotation?)
</notation>

Attributes

id
The ID of this element. The id value must be of type ID and be unique within the document containing this element.

Optional.

name
The name of the notation element. The name must be a no-colon-name (NCName) as defined in the XML Namespaces specification.

The name must be unique within a schema.

Required.

public
A URI reference corresponding to the public identifier. The identifier in the document prolog that gives the name of a DTD or external entity.

Required.

system
A URI reference corresponding to the system identifier. A local, system-dependent identifier for a document, DTD, or external entity. The name must be a URI.

Optional.

Element Information

 

Number of occurrences

Unlimited

Parent elements

schema

Contents

annotation

Example

The following example shows a jpeg notation using a viewer application, viewer.exe.

<?xml version="1.0"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
    <xs:notation name="jpeg" public="image/jpeg" system="viewer.exe" />
</xs:schema>

Other Resources

For more information see the W3C XML Schema Part 1: Structures Recommendation at www.w3.org/TR/2001/REC-xmlschema-1-20010502/#element-all.

See Also




Build Date:

2012-08-02

Community Additions

ADD
Show:
© 2015 Microsoft