By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,376 Members | 1,498 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,376 IT Pros & Developers. It's quick & easy.

What is the difference between DOM Level 1 and DOM Level 2.

P: n/a
best regards:

What is the difference between DOM Level 1 and DOM Level 2.
Thank you.
May god be with you.
Jul 20 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a


mike wrote:

What is the difference between DOM Level 1 and DOM Level 2.


DOM Level 1 was published in 1998 as a single W3C recommendation,
consisting of two modules, the Core and the HTML module.
DOM Level 2 consists of several W3C recommendation, published between
2000 and 2003, and has several modules, some of them being Core, HTML,
these two improving and refining what was done in Level 1, and additonal
modules Events, Traversal-Range, Views, Style.
The main difference between DOM Level 1 Core and DOM Level 2 Core is
that Level 2 Core is suitable for scripting XML with namespaces by
having namespace aware methods and properties which are not available in
Level 1 Core.
The main difference between DOM Level 1 HTML and DOM Level 2 HTML is
that Level 2 HTML is closer to the features in existing user agents.
Also at least in theory DOM Level 2 HTML applies to both HTML 4.01 as
well as XHTML 1.0 documents while DOM Level 1 HTML applies only to HTML
4.01 documents.

By now (since the beginning of 2004) there are also W3C DOM Level 3
recommendations for Core, Load and Save, and Validation where Level 3
Core again improves and refines Level 2 Core while the other two modules
add new features.

--

Martin Honnen
http://JavaScript.FAQTs.com/
Jul 20 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.