JiBX 1.2,第1部分: 从Java代码到XML模式 - 编程入门网
作者 佚名技术
来源 NET编程
浏览
发布时间 2012-06-14
xs:documentation>First line of street information (required).</xs:documentation> </xs:annotation> </xs:element> ... </xs:sequence> </xs:complexType> <xs:element type="tns:order" name="order"/> <xs:complexType name="order"> <xs:annotation> <xs:documentation>Order information.</xs:documentation> </xs:annotation> <xs:sequence> <xs:element name="customer" minOccurs="0"> <xs:complexType> ... </xs:complexType> </xs:element> <xs:element type="tns:address" name="billTo" minOccurs="0"> <xs:annotation> <xs:documentation>Billing address information.</xs:documentation> </xs:annotation> </xs:element> <xs:element name="shipping" minOccurs="0"> <xs:simpleType> <xs:annotation> <xs:documentation>Supported shipment methods. The "INTERNATIONAL" shipment methods can only be used for orders with shipping addresses outside the U.S., and one of these methods is required in this case.</xs:documentation> </xs:annotation> <xs:restriction base="xs:string"> <xs:enumeration value="STANDARD_MAIL"/> ... </xs:restriction> </xs:simpleType> </xs:element> <xs:element type="tns:address" name="shipTo" minOccurs="0"> <xs:annotation> <xs:documentation>Shipping address information. If missing, the billing address is also used as the shipping address.</xs:documentation> </xs:annotation> </xs:element> <xs:element name="item" minOccurs="0" maxOccurs="unbounded"> <xs:complexType> <xs:sequence> <xs:element type="xs:string" name="id" minOccurs="0"> <xs:annotation> <xs:documentation>Stock identifier. This is expected to be 12 characters in length, with two leading alpha characters followed by ten decimal digits.</xs:documentation> </xs:annotation> </xs:element> <xs:element type="xs:string" name="description" minOccurs="0"> <xs:annotation> <xs:documentation>Text description of item.</xs:documentation> </xs:annotation> </xs:element> </xs:sequence> <xs:attribute type="xs:int" use="required" name="quantity"> & |
凌众科技专业提供服务器租用、服务器托管、企业邮局、虚拟主机等服务,公司网站:http://www.lingzhong.cn 为了给广大客户了解更多的技术信息,本技术文章收集来源于网络,凌众科技尊重文章作者的版权,如果有涉及你的版权有必要删除你的文章,请和我们联系。以上信息与文章正文是不可分割的一部分,如果您要转载本文章,请保留以上信息,谢谢! |
你可能对下面的文章感兴趣
关于JiBX 1.2,第1部分: 从Java代码到XML模式 - 编程入门网的所有评论