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
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)- A80% (37)
- C13% (6)
- D7% (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
Community Discussion
No community discussion yet for this question.