DOM specification and implementation in Java (1)

zhaozj2021-02-17  56

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:

DOCTYPE:

Data itself:

Document fragment:

Silver Show Saddle, 16 Inch

825.00

1

premium cinch

49.00

1

entity:

Entity reference node:

mark:

Name Space:

转载请注明原文地址:https://www.9cbs.com/read-29562.html

New Post(0)