Interview Questions

What is an XML namespace prefix?

XML Interview Questions and Answers


(Continued from previous question...)

114. What is an XML namespace prefix?

An XML namespace prefix is a prefix used to specify that a local element type or attribute name is in a particular XML namespace. For example, in the following, the serv prefix specifies that the Address element type name is in the http://www.foo.com/ito/addresses namespace:
<serv:Addresses xmlns:serv="http://www.foo.com/ito/addresses">

(Continued on next question...)

Other Interview Questions