<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                ThinkChat2.0新版上線,更智能更精彩,支持會話、畫圖、視頻、閱讀、搜索等,送10W Token,即刻開啟你的AI之旅 廣告
                # XSD 空元素 空的復合元素不能包含內容,只能含有屬性。 ## 復合空元素: 一個空的 XML 元素: ``` <product prodid="1345" /> ``` 上面的 "product" 元素根本沒有內容。為了定義無內容的類型,我們就必須聲明一個在其內容中只能包含元素的類型,但是實際上我們并不會聲明任何元素,比如這樣: ``` <xs:element name="product"> ? <xs:complexType> ??? <xs:complexContent> ????? <xs:restriction base="xs:integer"> ??????? <xs:attribute name="prodid" type="xs:positiveInteger"/> ????? </xs:restriction> ??? </xs:complexContent> ? </xs:complexType> </xs:element> ``` 在上面的例子中,我們定義了一個帶有復合內容的復合類型。complexContent 元素給出的信號是,我們打算限定或者拓展某個復合類型的內容模型,而 integer 限定則聲明了一個屬性但不會引入任何的元素內容。 但是,也可以更加緊湊地聲明此 "product" 元素: ``` <xs:element name="product"> ? <xs:complexType> ??? <xs:attribute name="prodid" type="xs:positiveInteger"/> ? </xs:complexType> </xs:element> ``` 或者您可以為一個 complexType 元素起一個名字,然后為 "product" 元素設置一個 type 屬性并引用這個 complexType 名稱(通過使用此方法,若干個元素均可引用相同的復合類型): ``` <xs:element name="product" type="prodtype"/> <xs:complexType name="prodtype"> ? <xs:attribute name="prodid" type="xs:positiveInteger"/> </xs:complexType> ```
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看