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

XML Schema attributeGroup 元素

定義和用法

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

元素信息

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

語(yǔ)法

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

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

</attributeGroup>

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

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

實(shí)例

<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>

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

呼图壁县| 东乡县| 民丰县| 当阳市| 易门县| 长沙县| 子长县| 江永县| 永城市| 小金县| 龙游县| 嫩江县| 和龙市| 旺苍县| 奉节县| 西峡县| 天镇县| 阜平县| 八宿县| 保康县| 文水县| 石阡县| 合山市| 奈曼旗| 新竹市| 竹山县| 怀来县| 普格县| 呼伦贝尔市| 当雄县| 固始县| 定边县| 阳山县| 阜康市| 尤溪县| 夹江县| 高雄县| 浦江县| 泸溪县| 洛南县| 台东市|