Interview Questions

How can I declare XML namespaces so that all elements and attributes are in their scope?

XML Interview Questions and Answers


(Continued from previous question...)

84. How can I declare XML namespaces so that all elements and attributes are in their scope?

XML namespace declarations that are made on the root element are in scope for all elements and attributes in the document. This means that an easy way to declare XML namespaces is to declare them only on the root element.

(Continued on next question...)

Other Interview Questions