最新国产好看的视频,伊人天堂AV在线,国产Aaaaaa视频,蜜臀视频在线观看一区,人妻av色图,密臀久久久精品影片,青青视频免费观看毛片,久草在线观看视,国产三级精品色情在线

XML Schema attributeGroup 元素

定義和用法

attributeGroup 元素用于對屬性聲明進行組合,這樣這些聲明就能夠以組合的形式合并到復(fù)雜類型中。

元素信息

出現(xiàn)次數(shù) 無限制
父元素 attributeGroup、complexType、schema、restriction (simpleContent)、extension (simpleContent)、restriction (complexContent)、extension (complexContent)
內(nèi)容 annotation、attribute、attributeGroup、anyAttribute

語法

<attributeGroup
id=ID
name=NCName
ref=QName
any attributes
>

(annotation?),((attribute|attributeGroup)*,anyAttribute?))

</attributeGroup>

(? 符號聲明在 attributeGroup 元素中,元素可出現(xiàn)零次或一次,* 符號聲明元素可出現(xiàn)零次或多次。)

屬性 描述
id 可選。規(guī)定該元素的唯一的 ID。
name 可選。規(guī)定屬性組的名稱。name 和 ref 屬性不能同時出現(xiàn)。
ref 可選。規(guī)定對指定的屬性組的引用。name 和 ref 屬性不能同時出現(xiàn)。
any attributes 可選。規(guī)定帶有 non-schema 命名空間的任何其他屬性。

實例

<xs:attributeGroup name="personattr">
  <xs:attribute name="attr1" type="string"/>
  <xs:attribute name="attr2" type="integer"/>
</xs:attributeGroup>

<xs:complexType name="person">
  <xs:attributeGroup ref="personattr"/>
</xs:complexType>

上面的例子定義了一個名為 "personattr" 的屬性組,在名為 "person" 的復(fù)雜類型中使用。

鹤山市| 宁都县| 新干县| 大厂| 开封县| 长岛县| 康定县| 舟曲县| 罗江县| 罗源县| 南乐县| 顺昌县| 鲁甸县| 乐清市| 广西| 嘉鱼县| 花莲市| 宁南县| 潼关县| 息烽县| 大兴区| 团风县| 伊吾县| 蓝山县| 万载县| 沅陵县| 邛崃市| 塔城市| 稷山县| 南安市| 万年县| 营口市| 河津市| 吐鲁番市| 新建县| 曲水县| 错那县| 扶沟县| 富锦市| 黄骅市| 龙里县|