MS IE DOM DOM2 and Namespaces

A

Aaron Gray

AFAICT MS IE JavaScript does not support DOM Level 2 Namespaces. Is this
correct ?

Aaron
 
M

Martin Honnen

Aaron said:
AFAICT MS IE JavaScript does not support DOM Level 2 Namespaces. Is this
correct ?

MS IE uses the MS JScript engine, but only for the core language stuff
like number, strings, booleans, Object, Array, Date, RegExp, much like
other browsers have a script engine to implement the ECMAScript edition
3 specification.
What IE itself provides are host objects for manipulating HTML documents
and manipulating the browser. With the help of MSXML IE also provides
host or ActiveXObjects for manipulating XML documents. MSXML allows you
to manipulate XML with namespaces but not the way the W3C DOM Level 2
Core specification describes it (e.g. createElementNS), rather MSXML for
the namespace aware creation has the generic createNode method, for
namespace aware selection of nodes MSXML (3 and later) supports XPath.
In terms of HTML IE has its very own concept and implementation of HTML
with namespaces, for instance VML uses that to embed vector graphics in
HTML documents.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,432
Messages
2,571,682
Members
48,796
Latest member
Greg L.

Latest Threads

Top