attribute
コンポーネントでは、属性を定義します。
attributeGroup
schema
complexType
restriction
(simpleContentおよびcomplexContentの両方)
extension
(simpleContentおよびcomplexContentの両方)
<attribute
default=string
fixed=string
form=qualified|unqualified
id=ID
name=NCName
ref=QName
type=QName
use=optional|prohibited|required
any attributes
>
(annotation?,(simpleType?))
</attribute>
注意: ?記号は、指定した要素がattribute
要素内に0回または1回出現することを宣言します。
default
fixed
form
id
name
Name
属性とref
属性の両方を使用することはできません。
ref
Name
属性とref
属性の両方を使用することはできません。ref
が使用された場合、simpleType
要素、form
属性およびtype
属性は使用できません。
type
type
属性は、コンテンツにsimpleType
要素が含まれていない場合にのみ指定できます。
use
any attributes
この要素およびすべてのXML要素の詳細は、「W3C XML Schema Part 1: Structures Specification」(http://www.w3.org/TR/xmlschema-1/)を参照してください。
リファレンス: XSDコンポーネント
XSDビジュアル・エディタについて
Copyright © 1997, 2007, Oracle. All rights reserved.