Question:Often you will want child elements of XML to be in the same namespace as their parent XML elements, and this makes sense for a lot of XML documents. However, sometimes child elements will be in other namespaces. For example, it is possible to have namespaces with the same name but different namespaces (and thus with different meanings). Which of the following statements correctly binds a namespace with an element? 

A [XmlElement(Namespace:="http://address")] 

B [XmlElement(ns="http://address")] 

C [XmlElement(Namespace="http://address")] 

D None of these 

+ Answer
+ Explanation
+ Report
Total Preview: 590

Copyright © 2024. Powered by Intellect Software Ltd