what is DOM | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

what is DOM

5th Nov 2016, 2:24 AM
N.Guy
N.Guy - avatar
3 Answers
+ 4
Document object model used for scraping data from website.
5th Nov 2016, 2:38 AM
Aditya kumar pandey
Aditya kumar pandey - avatar
+ 2
"The Document Object Model (DOM) is an application programming interface (API) for valid HTML and well-formed XMLdocuments. It defines the logical structure of documents and the way a document is accessed and manipulated. In the DOM specification, the term "document" is used in the broad sense - increasingly, XML is being used as a way of representing many different kinds of information that may be stored in diverse systems, and much of this would traditionally be seen as data rather than as documents. Nevertheless, XML presents this data as documents, and the DOM may be used to manage this data. With the Document Object Model, programmers can build documents, navigate their structure, and add, modify, or delete elements and content. Anything found in an HTML or XML document can be accessed, changed, deleted, or added using the Document Object Model, with a few exceptions - in particular, the DOM interfaces for the XML internal and external subsets have not yet been specified. ..." Source: https://www.w3.org/TR/DOM-Level-2-Core/introduction.html
5th Nov 2016, 2:39 AM
Márcio Gomes Gonçalves
Márcio Gomes Gonçalves - avatar
0
Yes. To scrap (read, get, extract), add, modify and delete. Any of these operations.
5th Nov 2016, 10:28 AM
Márcio Gomes Gonçalves
Márcio Gomes Gonçalves - avatar