Multiple choice technology architecture

Advantage of using XML Namespaces?

  1. Add Security to SOAP.

  2. To validate if the XML is well formed.

  3. To Avoid Element Name Collisions.

  4. None of the above.

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

XML namespaces provide a way to uniquely identify elements and attributes to prevent naming conflicts when documents from different sources are combined. By qualifying names with a URI prefix, you can have two elements with the same local name but different meanings. This is essential in technologies like SOAP and XSLT.