0% found this document useful (0 votes)
23 views

XML Dom

The document discusses XML-DOM. It defines XML as a markup language like HTML that was designed to describe data using tags defined in a DTD or XML Schema. The DOM is a programming interface that allows programs to dynamically access and update the content, structure, and style of a document. It defines objects and interfaces for accessing and manipulating HTML and XML documents. There are different types of DOM, including the Core DOM for any document, the XML DOM for XML documents, and the HTML DOM for HTML documents.

Uploaded by

surbhitiwari
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
23 views

XML Dom

The document discusses XML-DOM. It defines XML as a markup language like HTML that was designed to describe data using tags defined in a DTD or XML Schema. The DOM is a programming interface that allows programs to dynamically access and update the content, structure, and style of a document. It defines objects and interfaces for accessing and manipulating HTML and XML documents. There are different types of DOM, including the Core DOM for any document, the XML DOM for XML documents, and the HTML DOM for HTML documents.

Uploaded by

surbhitiwari
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 3

XML-DOM

1) What is XML?
Extensible Markup Language (XML) is a simple, very flexible text format derived from SGML (ISO 8879). Originally designed to meet the challenges of large-scale electronic publishing, XML is also playing an increasingly important role in the exchange of a wide variety of data on the Web and elsewhere.

XML WAS DESIGNED TO DESCRIBE DATA AND TO FOCUS ON WHAT DATA IS.

XML is a markup language much like HTML. XML was designed to describe data. XML tags are not predefined. You must define your own tags. XML uses a Document Type Definition (DTD) or an XML Schema to describe the data. 5. XML with a DTD or XML Schema is designed to be self-descriptive. 6. XML is a Complement to HTML. 7. XML was designed to carry data... 1. 2. 3. 4. XML in Future Web Development. XML can separate Data from HTML. XML is used to Exchange Data. XML can be Used to Create New Languages.

2) What is the DOM?

The Document Object Model (DOM) is a platform and language-neutral interface that allows programs and scripts to dynamically access and update the content, structure, and style of a document. The DOM provides a standard set of objects for HTML and XML documents, and a standard interface for accessing and manipulating them. The DOM is a programming interface for HTML and XML documents. It defines the way a document can be accessed and manipulated. Using a DOM, a programmer can create a document, navigate its structure, and add, modify, or delete its elements. As a specification, one important objective for the DOM has been to provide a standard programming interface that can be used in a wide variety of environments and applications. The DOM has been designed to be used with any programming language.

3) TYPES OF DOM

The DOM is separated into different parts (Core, XML, and HTML) and different levels (DOM Level 1/2/3):

1) Core DOM
document

:-

defines a standard set of objects for any structured

2) XML DOM

: - defines a standard set of objects for XML documents

3) HTML DOM : - defines a standard set of objects for HTML documents

You might also like