IT Community - Software Programming, Web Development and Technical Support

What is DOM?

This is a discussion on What is DOM? within the XML and SOAP forums, part of the Web Development category; DOM - DOCUMENT OBJECT MODEL dom represent every element as objects in a html or xml. And builds the all elements ...


Go Back   IT Community - Software Programming, Web Development and Technical Support > Web Development > XML and SOAP

Register FAQ Members List Calendar Mark Forums Read

Reply
 
Thread Tools Display Modes
  #11  
Old 03-19-2008, 08:14 PM
saravanan saravanan is offline
D-Web Sr.Programmer
 
Join Date: Jul 2007
Posts: 180
saravanan is on a distinguished road
Default Re: What is DOM?

DOM - DOCUMENT OBJECT MODEL
dom represent every element as objects in a html or xml. And builds the all elements in a hierarchy tree.

Consider the following HTML document
<html>
<head>
<title>Example</title>
</head>
<body>
<div>
Kamala Kannan
</div>
</body>
</html>

in every document the object document is root element or root object
then we can represent the <div< element like following structure

document/html/body/div this structure can represent in JS as follows

like all the element can represent using the DOM tree.
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #12  
Old 03-19-2008, 08:15 PM
GDevakii GDevakii is offline
D-Web Sr.Programmer
 
Join Date: Aug 2007
Posts: 125
GDevakii is on a distinguished road
Smile Re: What is DOM?

If the DOM is language-neutral, what language do you specify the interface in?

The Object Management Group Interface Definition Language (OMG IDL) was chosen as it was designed for specifying language and implementation-neutral interfaces. Various other IDLs could be used; the use of OMG IDL does not imply a requirement to use a specific object binding runtime.

We expect that the DOM can be implemented using CORBA, COM, or Java Virtual Machine runtime bindings. We expect that many implementations of the DOM will use bindings to various programming languages. The DOM specifies bindings for Java and ECMAScript (the standardization of JavaScript/JScript by the European Computer Manufacturer's Association (ECMA) defined by ECMA-262) as appendices to the specification; other language bindings (for example, ANSI C++, Perl, or VBScript) may be supplied by other interested parties. Obviously it would be good if different implementations in other languages are consistent with each other.
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #13  
Old 07-13-2008, 11:56 PM
Miakoda Miakoda is offline
D-Web Trainee
 
Join Date: Jul 2008
Posts: 36
Miakoda is on a distinguished road
Default Re: What is DOM?

The Document Object Model (DOM) is an application programming interface (API) for valid HTML and well-formed XML documents.With the Document Object Model, programmers can build documents, navigate their structure, and add, modify, or delete elements and content.
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


All times are GMT -7. The time now is 04:45 PM.


Copyright ©2004 - 2007, DiscussWeb. All Rights Reserved.
Our Partners
One Way Moving Companies | Stamford Dentist | Euro Millions Lottery | Home Loans| Furniture

SEO by vBSEO 3.0.0