From http://www.w3schools.com (Copyright Refsnes Data)

XML Schema unique Element


XML Schema Reference Complete XML Schema Reference

Definition and Usage

The unique element defines that an element or an attribute value must be unique within the scope.

The unique element MUST contain the following (in order):

Element Information

Syntax

<unique
id=ID
name=NCName
any attributes
>

(annotation?,(selector,field+))

</unique>

(The ? sign declares that the element can occur zero or one time inside the unique element)

Attribute Description
id Optional. Specifies a unique ID for the element
name Required. Specifies a name for the element
any attributes Optional. Specifies any other attributes with non-schema namespace


XML Schema Reference Complete XML Schema Reference

From http://www.w3schools.com (Copyright Refsnes Data)