app教程网 综合百科 xmlspear(xml的schema写法)

xmlspear(xml的schema写法)

xsd:complex typename=' cn address ' xsd:sequence xsd:element name=' name ' type=' xsd:string '/xsd:element name=' street ' type=' xsd:element name=' city ' type=' xsd:element name=' zip ' type=' xsd:decimal '//xsd:sequence xsd:attributename=' country ' type=' xsd:nm token ' fixed=' US '//xsd:complex type 2、element存在约束:元素可以通过其未成年人和maxOccurs两个属性来约束元素实例存在的个数,

/xsd:扩展名/xsd:简单内容/xsd:复杂类型/xsd:元素第二种类型(有一个元素和两个属性构成):xsd:element name='国际价格' xsd:复杂类型xsd:复杂内容xsd:element name=" Country "?type=" xsd:string "/xsd:attributename=' currency ' type=' xsd:string '/xsd:attributename=' value 'type=' xsd:decimal '//xsd:复杂内容/xsd:复杂类型/xsd:元素注意:在这里由于默认情况下缺省是复杂内容,

本文来自网络,不代表本站立场,转载请注明出处:https: