- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
BUPTSSE SOA principles practice Lecture 3 XML Schemas XML Schemas /TR/xmlschema-0/ (Primer) /TR/xmlschema-1/ (Structures) /TR/xmlschema-2/ (Datatypes) Schema Validators GUI Oriented XML Spy Turbo XML Command Line Only XSV by Henry Thompson ftp://ftp.cogsci.ed.ac.uk/pub/XSV/XSV12.EXE Has a Programmatic API xerces by Apache /xerces-j/index.html IBM Schema Quality Checker /tech/xmlsqc MSXML6.0 What is XML Schemas? Answer: An XML vocabulary for expressing your datas business rules An XML Schema: defines elements that can appear in a document defines attributes that can appear in a document defines which elements are child elements defines the order of child elements defines the number of child elements defines whether an element is empty or can include text defines data types for elements and attributes defines default and fixed values for elements and attributes Example Validating your data Purpose of XML Schemas (and DTDs) Specify: the structure of instance documents this element contains these elements, which contains these other elements, etc the datatype of each element/attribute this element shall hold an integer with the range 0 to 12,000 (DTDs dont do too well with specifying datatypes like this) Highlights of XML Schemas XML Schemas are a tremendous advancement over DTDs: Enhanced datatypes 44+ versus 10 Can create your own datatypes Example: This is a new type based on the string type and elements of this type must follow this pattern: ddd-dddd, where d represents a digit. Written in the same syntax as instance documents less syntax to remember Highlights of XML Schemas(Cont) XML Schemas are a tremendous advancement over DTDs: Object-orientedish Can extend or restrict a type (derive new type definitions on the basis of old ones) Can express sets, i.e., can define the child elements to occur in any order Can specify element content as being unique (keys on content) and uniqueness within a region Can define multiple elements wit
您可能关注的文档
- 2016届高考政治一轮复习1.1神奇的货币….ppt
- 2016届高三物理一轮复习第11章第3讲原子核(选修3-5)….ppt
- 2016届高三一轮复习《经济生活》第10课:科学发展观和小康社会的经济建设….ppt
- 2016届生物一轮复习基因表达….ppt
- 2016届一轮复习:__第一讲_神奇的货币_Microsoft_PowerPoint_演示文稿….ppt
- 2016届一轮复习:第一讲神奇的货币MicrosoftPowerPoint演示文稿….ppt
- 2016年第一轮复习3-1人体的内环境与稳态(共82张)….ppt
- 2016年高考语文备考策略….ppt
- 2016年高考语文论述类文本阅读….ppt
- 2016年课标全国卷语文备考策略….ppt
最近下载
- Photoshop2020平面设计实例教程全套完整教学课件.pptx
- 2025年重庆市中考语文试卷真题(含标准答案) 原卷.pdf
- 30题保险理赔岗位常见面试问题含HR问题考察点及参考回答.docx VIP
- 2023年成人高考高起专《数学》(理科)真题及答案.pdf VIP
- 2025年中国红十字会救护员培训理论考试试题及答案.docx VIP
- 苏教版九年级数学上册《一元二次方程的解法(2)》课件.ppt VIP
- 航空煤油安全技术说明书.pdf VIP
- 四年级上册数学人教版预习卡.pdf VIP
- 第一单元 传统工艺制作---劳动预备 课件(共两课时40张PPT).pptx VIP
- 2025年秋人教版英语八年级上册Unit 1 Happy Holiday 教案教学设计.docx VIP
文档评论(0)