adspace
How do I use prefixes to refer to element type and attribute names in an xml namespace?
Answer Posted / Varun Kumar Gupta
Prefixes are used to uniquely identify a specific XML namespace. You can assign a unique prefix to each namespace and then use this prefix along with the colon symbol (:) when referring to elements or attributes within that namespace. For example, "xmlns:prefix="URI"" declares a namespace with prefix 'prefix' and URI 'URI', and you would use 'prefix:elementName' to refer to an element in that namespace.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers