adspace
Why are special attributes used to declare xml namespaces?
Answer Posted / Sandeep Dixit
Special attributes like `xmlns`, `xmlns:prefix` and `xmlns:prefix-uri` are used in XML to declare namespaces because they allow you to associate element or attribute names with specific namespace URIs, which helps avoid name conflicts when working with multiple namespaces within a single document.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers