以文本方式查看主题

-  计算机科学论坛  (http://bbs.xml.org.cn/index.asp)
--  『 DTD/XML Schema 』  (http://bbs.xml.org.cn/list.asp?boardid=23)
----  请问下面量段语句效果是不是一样?  (http://bbs.xml.org.cn/dispbbs.asp?boardid=23&rootid=&id=41364)


--  作者:oohuioo
--  发布时间:12/18/2006 7:17:00 PM

--  请问下面量段语句效果是不是一样?
请问下面量段语句效果是不是一样?
示例1:
<xs:element name="zooAnimals">
      <xs:complexType>
            <xs:sequence minOccurs="0" maxOccurs="unbounded">
               <xs:element name="elephant"/>
               <xs:element name="bear"/>
               <xs:element name="giraffe"/>
            </xs:sequence>
      </xs:complexType>
</xs:element>

示例2:
<xs:element name="zooAnimals" minOccurs="0" maxOccurs="unbounded>
      <xs:complexType>
            <xs:sequence>
               <xs:element name="elephant"/>
               <xs:element name="bear"/>
               <xs:element name="giraffe"/>
            </xs:sequence>
      </xs:complexType>
</xs:element>


--  作者:oohuioo
--  发布时间:12/19/2006 9:50:00 AM

--  
都没人理,顺便再问一下:在Simple Type Definition里Constraining Facets里的length 元素:
<length
  fixed = boolean : false
  id = ID
  value = nonNegativeInteger
  {any attributes with non-schema namespace . . .}>
  Content: (annotation?)
</length>
这里的FIX属性是什么意思啊???怎么理解???
--  作者:oohuioo
--  发布时间:12/20/2006 6:11:00 PM

--  
好冷清啊!!
好几天了都没人回答!!!
--  作者:hgpimac
--  发布时间:12/22/2006 1:20:00 PM

--  
效果应该不一样
W 3 C h i n a ( since 2003 ) 旗 下 站 点
苏ICP备05006046号《全国人大常委会关于维护互联网安全的决定》《计算机信息网络国际联网安全保护管理办法》
46.875ms