XmlUtil XmlUtil XmlUtil XmlUtil Class

Definition

Utility class for XML related operations.

public ref class XmlUtil
public class XmlUtil
type XmlUtil = class
Public Class XmlUtil
Inheritance
XmlUtilXmlUtilXmlUtilXmlUtil

Constructors

XmlUtil() XmlUtil() XmlUtil() XmlUtil()

Prevent XmlUtil from ever being constructed

Methods

CreateXmlDocument() CreateXmlDocument() CreateXmlDocument() CreateXmlDocument()

Creates an XmlDocument object with secure default property values.

CreateXmlDocument(Stream) CreateXmlDocument(Stream) CreateXmlDocument(Stream) CreateXmlDocument(Stream)

Creates an XmlDocument object with secure default property values. Extracts xml from the given stream and reads it into the XmlDocument.

CreateXmlDocument(String) CreateXmlDocument(String) CreateXmlDocument(String) CreateXmlDocument(String)

Creates an XmlDocument object with secure default property values. Loads the given XML into the XmlDocument.

CreateXmlDocument(XmlReader) CreateXmlDocument(XmlReader) CreateXmlDocument(XmlReader) CreateXmlDocument(XmlReader)

Creates an XmlDocument object with secure default property values.

CreateXmlDocument(String, Boolean) CreateXmlDocument(String, Boolean) CreateXmlDocument(String, Boolean) CreateXmlDocument(String, Boolean)

Creates an XmlDocument object with secure default property values. Loads the given XML into the XmlDocument. This overload is useful when a whitespace only element value is valid content.

CreateXmlReader(Stream) CreateXmlReader(Stream) CreateXmlReader(Stream) CreateXmlReader(Stream)

Creates an XmlReader object with secure default property values.

CreateXmlReader(String) CreateXmlReader(String) CreateXmlReader(String) CreateXmlReader(String)

Creates an XmlReader object with secure default property values.

CreateXmlReader(String, Boolean) CreateXmlReader(String, Boolean) CreateXmlReader(String, Boolean) CreateXmlReader(String, Boolean)

Creates an XmlReader object with secure default property values and given whitespace setting.

CreateXmlWriter(TextWriter, Boolean) CreateXmlWriter(TextWriter, Boolean) CreateXmlWriter(TextWriter, Boolean) CreateXmlWriter(TextWriter, Boolean)

Creates an XmlWriter on top of the provided TextWriter as per the .Net Framework guidelines.

CreateXmlWriter(String, Encoding, Boolean) CreateXmlWriter(String, Encoding, Boolean) CreateXmlWriter(String, Encoding, Boolean) CreateXmlWriter(String, Encoding, Boolean)

Creates an XmlWriter which writes to the specified filename using the specified encoding.

Applies to