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.
Utilities for working with XML
public static class XmlUtil
type XmlUtil = class
Public Class XmlUtil
- Inheritance
-
XmlUtil
Methods
CheckReaderOnEntry(XmlReader, String, String) |
Checks if the XmlReader is pointing to an expected element. |
CheckReaderOnEntry(XmlReader, String) |
Checks if the XmlReader is pointing to an expected element. |
EqualsQName(XmlQualifiedName, String, String) |
Determines if a Qualified names equals a name / namespace pair. |
GetXsiTypeAsQualifiedName(XmlReader) |
Gets the xsi:type as a XmlQualifiedName for the current element. |
IsNil(XmlReader) |
Determines if the |
IsStartElement(XmlReader, String, ICollection<String>) |
Determine if reader is at expected element in one of the listed namespace in namespaceList. |
LogReadException(String, Exception, Object[]) |
Sends formatted XmlReadException to the Logger. |
LogReadException(String, Object[]) |
Sends formatted XmlReadException to the Logger. |
LogValidationException(String, Exception, Object[]) |
Sends formatted XmlValidationException to the Logger. |
LogValidationException(String, Object[]) |
Sends formatted XmlValidationException to the Logger. |
LogWriteException(String, Exception, Object[]) |
Sends formatted XmlWriteException to the Logger. |
LogWriteException(String, Object[]) |
Sends formatted XmlWriteException to the Logger. |
NormalizeEmptyString(String) |
Normalizes an empty string to 'null'. |
ResolveQName(XmlReader, String) |
Determines if the prefix on a name maps to a namespace that is in scope the reader. |
ValidateXsiType(XmlReader, String, String, Boolean) |
Validates that element the |
ValidateXsiType(XmlReader, String, String) |
Validates that element the |