XMLスキーマの一意の要素
❮完全なXMLスキーマリファレンス
定義と使用法
一意の要素は、要素または属性値がスコープ内で一意でなければならないことを定義します。
一意の要素には、次のものが(順番に)含まれている必要があります。
- 唯一のセレクター要素(フィールドで指定された値が一意である必要がある要素のセットを指定するXPath式が含まれています)
- 1つ以上のフィールド要素(selector要素によって指定された要素のセットに対して一意である必要がある値を指定するXPath式が含まれています)
要素情報
- 親要素:要素
構文
<unique
id=ID
name=NCName
any attributes
>
(annotation?,(selector,field+))
</unique>
(?記号は、要素が一意の要素内で0回または1回発生する可能性があることを宣言します)
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スキーマリファレンス