Κοινή χρήση μέσω


XmlUtil Class

Definition

Utility class for XML related operations.

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

Constructors

XmlUtil()

Prevent XmlUtil from ever being constructed

Methods

CreateXmlDocument()

Creates an XmlDocument object with secure default property values.

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, 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.

CreateXmlDocument(String)

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

CreateXmlDocument(XmlReader)

Creates an XmlDocument object with secure default property values.

CreateXmlReader(Stream)

Creates an XmlReader object with secure default property values.

CreateXmlReader(String, Boolean)

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

CreateXmlReader(String)

Creates an XmlReader object with secure default property values.

CreateXmlWriter(String, Encoding, Boolean)

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

CreateXmlWriter(TextWriter, Boolean)

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

Applies to