Describe the XmlWriter class ?

 Posted by Bharathi Cherukuri on 5/11/2012 | Category: Web Services, Remoting Interview questions | Views: 1952 | Points: 40

The XmlWriter class is used to write XML to a file,or a stream, or a Textwriter object. This class works in a forward-only, non-cached manner.
You can configure the XmlWriter object up to a large extent.
With this object, you can specify the following things:
1) Such as whether to indent content or not,
2) The amount to indent,
3) What quote character to use in attribute values,
4) Whether or not namespaces are supported.

Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response