以文本方式查看主题 - 中文XML论坛 - 专业的XML技术讨论区 (http://bbs.xml.org.cn/index.asp) -- 『 DTD/XML Schema 』 (http://bbs.xml.org.cn/list.asp?boardid=23) ---- 关于xml 的一些问题!!在线等高人回!!!! (http://bbs.xml.org.cn/dispbbs.asp?boardid=23&rootid=&id=35012) |
-- 作者:rockli -- 发布时间:6/29/2006 2:22:00 PM -- 关于xml 的一些问题!!在线等高人回!!!! <?xml version="1.0" encoding="UTF-8"?> <!-- edited with XMLSPY v5 rel. 4 U (http://www.xmlspy.com) by xxx (xxx) --> <xs:schema targetNamespace="http://www.org.com/gbs/po" xmlns="http://www.org.com/gbs/po" xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified" version="1.6"> <xs:annotation> <xs:documentation xml:lang="en"> BBSS PO DDDD Schema version: 1.6 author: pp AG, kevin pp AG, geoger date: 12. October 2004. Conforms to W3C CR XML Schema 2000-10-24 1.1 2004-10-26 MWE Changed from xs:import to xs:include 1.2 2004-11-04 OS remove PO Prefix 1.3 2004-11-04 OS remove PO Prefix 1.4 2004-12-08 OS Add Footer element 1.5 2004-12-09 MWE purchase order element min occurs 0 for Result on batch level base ( footer element only) 1.6 2005-02-23 OS Update Documentation </xs:documentation> </xs:annotation> <!-- I M P O R T S --> <xs:include schemaLocation="PO_V1.xsd"/> <!-- R O O T --> <xs:element name="PurchaseOrderBatch"> <xs:complexType> <xs:sequence> <xs:annotation> <xs:documentation>The PurchaseOrderBatch should contain at most 500 Purchase Orders which might be different Purchase Orders (create, reject, accept, etc) and Footer element is optional. </xs:documentation> </xs:annotation> <xs:element ref="PurchaseOrder" minOccurs="0" maxOccurs="500"/> <xs:element ref="Footer" minOccurs="0"/> </xs:sequence> </xs:complexType> </xs:element> </xs:schema> 请问 |
-- 作者:gemingke -- 发布时间:6/29/2006 4:20:00 PM -- 本来这一段就是说明性质的,给人阅读的,就像程序设计里的脚注。不需要对应的xml文档 |
-- 作者:Afanty -- 发布时间:6/29/2006 4:33:00 PM -- 是啊,这个就是注释的东西,你那样写就可以了! |
W 3 C h i n a ( since 2003 ) 旗 下 站 点 苏ICP备05006046号《全国人大常委会关于维护互联网安全的决定》《计算机信息网络国际联网安全保护管理办法》 |
31.250ms |