Specifying XML Data with Integrity Constraints.ppt

  1. 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
  2. 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  3. 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
Specifying XML Data with Integrity Constraints

May 9, 2001 Tutorial Specifying XML Data with Integrity Constraints Wenfei Fan Bell Labs and Temple University Outline XML, Web data and database techniques XML specifications: types and constraints XML constraints: absolute/relative keys and foreign keys Analysis of XML constraints: consistency and implication Research issues Area references: A Web odyssey: From Codd to XML, V. Vianu, PODS 2001. /~wfan/PODS2001/proceedings.html Constraints for semistructured data and XML, P. Buneman, W. Fan, J. Simeon and S. Weinstein, SIGMOD Record 30(1), March 2001. /~fan/papers/xml/survey.ps.gz Part 1. XML: a brief introduction What is wrong with HTML? HTML (HyperText Markup Language) is good for presentation, but does not help information extraction by programs. h3 George Bush /h3 b Taking Eng 055 /b br em GPA: 1.5 /em br h3 Eng 055 /h3 b Spelling /b HTML tags: predefined and fixed describing display format rather than the structure of data eXtensible Markup Language XML tags: user-defined, arbitrarily nested describing the structure of the data rather than display student id = “123” name firstName George /firstName lastName Bush /lastName /name taking Eng 055 /taking GPA 1.5 /GPA /student course cno = “Eng 055” title Spelling /title /course XML basics Element: the segment between a start tag and a corresponding end tag, e.g., student, name. Subelement: relation between an element and its component elements, e.g., name to student. Attribute: marked text within a start tag, e.g., id. Text: the single basic type (PCDATA), e.g., “Bush”. XML elements are ordered, whereas attributes are not. student id = “123” name firstName George /firstName lastName Bush /lastName /name taking Eng 055 /taking GPA 1.5 /GPA /student The XML tree model An XML document is typically modeled as a node-labeled tree. Element node: internal, with a name (tag)

文档评论(0)

me54545 + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档