- 1、本文档共13页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
DOM解析XML文档(国外英语资料)
DOM解析XML文档(国外英语资料)
The structure of the XML document includes the advantages of XML, the format of the XML document, the DTD, and the XML Schema.
Learn to create XML documents and customize your XML documents by defining the DTD and schema.
The main purpose of an XML document is to transfer data.
The DOM and its model
DOM:
The DOM Document Object Model, an abbreviation for the Document Object Model, defines the criteria for documents such as XMLhe XHTML.
DOM is a W3C standard, the W3C DOM is defined as a make the program and script has the ability to dynamically access and update the document content, structure and CCTV platform and language neutral interface.
DOM is divided into core DOM, HTML DOM, and XML DOM.
The core DOM is the standard model for any institutionalized document.
The HTML DOM:
The HTML dom defines the objects and attributes of all HTML document elements and the methods to access them (interfaces), which is the standard model for HTML documents.
The XML DOM:
Similar to the HTML DOM and XML DOM defines the objects all the XML elements and attributes, and access their method (interface), is used to access, change, add or remove standard XML elements.
The XML DOM contains four meanings:
(1) the standard object model for XML
(2) the standard programming interface for XML
(3) opposite platform and language
(4) the W3C standard
The DOM level:
Nodes and node trees:
According to the DOM, each cell (element, attribute, entity, comment, etc.) in an XML document is a node.
XML DOM views XML documents as tree structures, which are called node trees.
The program accesses all nodes, modifies, or deletes its content and creates new elements through the node tree.
The node tree shows the collection of nodes and their relationships.
Nodes in the XML node tree:
Document node (Document node)
Node List (node List)
Elment Node (element Node)
Node List (Node List)
Element Node (Element Node)
NameNodeMap (node name list)
Attr Node (attribute Node)
Node List (Node List)
T
您可能关注的文档
- 2013年春季基础会计学网上作业2(国外英语资料).doc
- 2015年辽宁省人力资源管理师证书介绍考试资料(国外英语资料).doc
- 2015年山东省人力资源师的报考条件最新考试试题库(完整版)(国外英语资料).doc
- 2015成本会计(国外英语资料).doc
- 2015福师《计算机应用基础》在线作业二(国外英语资料).doc
- 2016年江苏省人力资源师的报考条件最新考试试题库(国外英语资料).doc
- 2016广工Anyview试题答案 第九章(国外英语资料).doc
- 207异响及其他解决问题(国外英语资料).doc
- 208硬母线安装施工工艺(国外英语资料).doc
- 2015盐城工学院自考招生简章(国外英语资料).doc
文档评论(0)