26 switch (base.parentNode.NodeType)
35 XmlNode parentNode = base.parentNode.parentNode;
36 while (parentNode.IsText)
38 parentNode = parentNode.parentNode;
43 return base.parentNode;
51 public override string Value 59 if (CheckOnData(value))
73 DecideXPNodeTypeForTextNodes(
this, ref xnt);
78 internal override bool IsText =>
true;
86 if (parentNode.IsText)
100 if (!doc.IsLoading && !CheckOnData(strData))
Represents an XML document. You can use this class to load, validate, edit, add, and position XML in ...
override string Name
Gets the qualified name of the node.
virtual XmlDocument OwnerDocument
Gets the T:System.Xml.XmlDocument to which this node belongs.
override XmlNode PreviousText
Gets the text node that immediately precedes this node.
XmlNodeType
Specifies the type of node.
abstract void WriteString(string text)
When overridden in a derived class, writes the given text content.
XPathNodeType
Defines the XPath node types that can be returned from the T:System.Xml.XPath.XPathNavigator class.
Represents a writer that provides a fast, non-cached, forward-only way to generate streams or files t...
override void WriteTo(XmlWriter w)
Saves the node to the specified T:System.Xml.XmlWriter.
internal XmlSignificantWhitespace(string strData, XmlDocument doc)
Initializes a new instance of the T:System.Xml.XmlSignificantWhitespace class.
override XmlNodeType NodeType
Gets the type of the current node.
virtual string Data
Contains the data of the node.
override string Value
Gets or sets the value of the node.
override void WriteContentTo(XmlWriter w)
Saves all the children of the node to the specified T:System.Xml.XmlWriter.
The exception that is thrown when one of the arguments provided to a method is not valid.
virtual XmlSignificantWhitespace CreateSignificantWhitespace(string text)
Creates an T:System.Xml.XmlSignificantWhitespace node.
override XmlNode ParentNode
Gets the parent of the current node.
override XmlNode CloneNode(bool deep)
Creates a duplicate of this node.
Provides text manipulation methods that are used by several classes.
override string LocalName
Gets the local name of the node.
override XmlNode ParentNode
Gets the parent node of this node (for nodes that can have parents).
Represents a single node in the XML document.
Represents white space between markup in a mixed content node or white space within an xml:space= 'pr...