nerdexam
Microsoft

98-372 · Question #5

How is an XmlWriter object useful when writing an XML data to XML documents? Each correct answer represents a complete solution. Choose all that apply.

The correct answer is A. It ensures that an XML document is well-formed. B. It allows multiple XML documents to be written to one output stream.. The XmlWriter class is used to create streams and write data to XML documents. An XmlWriter object of the class is useful when writing an XML data to XML documents in the following manner: An XmlWriter object ensures that XML characters are legal and contains valid element and at

Understanding Cloud Concepts

Question

How is an XmlWriter object useful when writing an XML data to XML documents? Each correct answer represents a complete solution. Choose all that apply.

Options

  • AIt ensures that an XML document is well-formed.
  • BIt allows multiple XML documents to be written to one output stream.
  • CIt allows XML values to be passed as reference by using CLR.
  • DIt avoids value conversions automatically.

How the community answered

(46 responses)
  • A
    80% (37)
  • C
    13% (6)
  • D
    7% (3)

Explanation

The XmlWriter class is used to create streams and write data to XML documents. An XmlWriter object of the class is useful when writing an XML data to XML documents in the following manner: An XmlWriter object ensures that XML characters are legal and contains valid element and attribute names. It ensures that an XML document is well-formed. It allows encoding of binary data into bytes such as Base64 or BinHex, and writing the resulting It allows XML values to be passed as parameters by using CLR types instead of using strings. This avoids value conversions manually. It allows multiple XML documents to be written to one output stream.

Topics

#XmlWriter#XML#.NET Framework#data serialization

Community Discussion

No community discussion yet for this question.

Full 98-372 Practice