OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help



   Re: [xml-dev] DOM support in IE vs. NS

[ Lists Home | Date Index | Thread Index ]

The best way to find out what scriptable functions are available in a
particular vendor's browser is to look at the browser's documentation.
If the function is documented in MSDN as being supported by IE, then it
should work on IE.

If you want to find out what scriptable functions work across all
browser versions (not many), or across particular browser
versions/vendors, your best bet is to go to one of the web sites that
collects such information for webmasters.  Better yet, get one of the
browser-neutral code libraries (there are some really good ones) that
abstract away all browser differences for a particular range of browsers
and let you write code that will be guaranteed to work on any of the
supported browsers.  This is much less frustrating than trying to figure
by trial-and-error which pieces of the W3C specs are implemented from
version to version of Netscape and IE.


Since Microsoft is no longer a member of the DOM Working Group, does your
answer imply that Microsoft has no intention of supporting the DOM Level 2
API that has been a W3C Recommendation since Nov. 2000?

One of the motivations for the DOM was to reduce the need for much of the
cross-browser incompatibility nonsense that resulted from Netscape and
Microsoft coming up with different DHTML (remember that term?) elements and
attributes. I don't see why Microsoft cannot write an API that adheres
exactly to DOM2 so that, for example,(W3C DOM Activity Lead) Philippe Le
Hégaret's code would work right out of the box. [1]

[1] http://www.w3.org/2003/02/06-dom-support.html
     [What does your user agent claim to support?]

- Ken Sall                         ken@sall.net or ksall@SiloSmashers.com
- SiloSmashers                http://SiloSmashers.com
- XML Technical Analyst  http://kensall.com
- Essential XML Sites      http://kensall.com/big-picture/best-sites.html


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS