concept:
1, DOM is an objective XML data interface;
2, a standard interface norm that is independent of language, and has nothing to do with the platform;
3, it defines the logical structure of the HTML document and the XML document;
4. A method for accessing and handling HTML documents and XML documents (dynamically creates documentation, traverses document structure, adding, modifying, deleting document content, changing documents).
composition:
ü DOM consists of three parts, including: core, HTML, and XML.
ü The core part is a collection of structural documents compared to the underlying object;
ü HTML interface and XML interfaces are two parts: the advanced interfaces provided for operating specific HTML documents and XML documents, making the operation of these two types of files more convenient.
version:
ü Dom level 1 through August 18, 1998;
ü March 7, 2000 DOM level 2;
ü Dom level 3.
XML basic concept
XML declaration: XML Version = "1.0" encoding = "UTF-8"?>
DOCTYPE:
Data itself:
Document fragment:
item>
item>
entity:
Entity reference node:
mark:
Name Space: