group
コンポーネントは、複合型の定義で使用される要素グループの定義に使用されます。
schema
choice
sequence
complexType
restriction
(simpleContentおよびcomplexContentの両方)
extension
(simpleContentおよびcomplexContentの両方)
<group
id=ID
name=NCName
ref=QName
maxOccurs=nonNegativeInteger|unbounded
minOccurs=nonNegativeInteger
any attributes
>
(annotation?,(all|choice|sequence))
</group>
注意: ?記号は、指定した要素がgroup要素内に0回または1回出現することを宣言します。
id
name
schema
要素がこのgroup要素の親である場合にのみ使用されます。Name
属性とref
属性の両方を使用することはできません。
ref
Name
属性とref
属性の両方を使用することはできません。
maxOccurs
group
要素が出現する最大回数を指定します。値は、0以上の任意の数値です。また、最大出現回数を制限しない場合は、unbounded値を使用します。デフォルト値は1です。
minOccurs
group
要素が出現する最小回数を指定します。値は、0以上の任意の数値です。デフォルト値は1です。
any attributes
この要素およびすべてのXML要素の詳細は、「W3C XML Schema Part 1: Structures Specification」(http://www.w3.org/TR/xmlschema-1/)を参照してください。
リファレンス: XSDコンポーネント
XSDビジュアル・エディタについて
Copyright © 1997, 2006, Oracle. All rights reserved.