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回以上出現することを宣言します。
default
fixed
form
id
name
Name
属性とref
属性の両方を使用することはできません。
ref
Name
属性とref
属性の両方を使用することはできません。ref
が使用されて場合、simpleType
要素、form
属性およびtype
属性は使用できません。
type
type
属性は、コンテンツにsimpleType
要素が含まれていない場合にのみ使用できます。
use
any attributes
この要素およびすべてのXML要素の詳細は、http://www.w3.org/TR/xmlschema-1/にある「W3C XML Schema Part 1: Structures」の仕様を参照してください。
Copyright © 1997, 2004, Oracle. All rights reserved.