XmlUtil Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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) |
Creates an XmlDocument object with secure default property values. Loads the given XML 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(XmlReader) |
Creates an XmlDocument object with secure default property values. |
CreateXmlReader(Stream) |
Creates an XmlReader object with secure default property values. |
CreateXmlReader(String) |
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. |
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. |