Easy Tutorial
❮ El Anyattribute El Complexcontent ❯

XML Schema unique Element



Definition and Usage

The unique element specifies that the value of an attribute or element (or a combination of attribute or element values) must be unique within the specified scope. The value must be unique or zero.

The unique element must contain the following elements in order:

Element Information

Syntax

(? symbol indicates that the element can appear zero or one time within 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 namespaces.
❮ El Anyattribute El Complexcontent ❯