Multiple choice xml

DOM 2 doesn't provide mechanism for interrogating and modifying the namespace for a document.

  1. True

  2. False

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

The statement is false. DOM Level 2 DOES provide mechanisms for working with namespaces - it introduced namespace-aware methods like getElementsByTagNameNS(), getAttributeNS(), and has attributes like namespaceURI, prefix, and localName on nodes. These allow DOM code to interrogate and modify namespace information in XML documents.