Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ CopyShallowNode()

bool System.Xml.Xsl.Runtime.XmlMergeSequenceWriter.CopyShallowNode ( XPathNavigator nav)
inlineprivate

Definition at line 120 of file XmlMergeSequenceWriter.cs.

121 {
122 bool result = false;
123 switch (nav.NodeType)
124 {
125 case XPathNodeType.Element:
127 result = true;
128 break;
129 case XPathNodeType.Attribute:
133 break;
134 case XPathNodeType.Text:
136 break;
137 case XPathNodeType.SignificantWhitespace:
138 case XPathNodeType.Whitespace:
140 break;
141 case XPathNodeType.Root:
142 result = true;
143 break;
144 case XPathNodeType.Comment:
146 break;
147 case XPathNodeType.ProcessingInstruction:
149 break;
150 case XPathNodeType.Namespace:
152 break;
153 }
154 return result;
155 }
void WriteNamespaceDeclaration(string prefix, string ns)
override void WriteWhitespace(string ws)
void WriteComment(string? text)
void WriteProcessingInstruction(string name, string? text)
void WriteString(string? text)
void WriteStartAttribute(string localName, string? ns)
Definition XmlWriter.cs:67
void WriteStartElement(string localName, string? ns)
Definition XmlWriter.cs:30

References System.Xml.Xsl.Runtime.XmlMergeSequenceWriter._xwrt, System.Xml.XPath.XPathNavigator.LocalName, System.Xml.XPath.XPathNavigator.NamespaceURI, System.Xml.XPath.XPathNavigator.NodeType, System.Xml.XPath.XPathNavigator.Prefix, System.Xml.XPath.XPathItem.Value, System.Xml.XmlWriter.WriteComment(), System.Xml.XmlWriter.WriteEndAttribute(), System.Xml.XmlRawWriter.WriteNamespaceDeclaration(), System.Xml.XmlWriter.WriteProcessingInstruction(), System.Xml.XmlWriter.WriteStartAttribute(), System.Xml.XmlWriter.WriteStartElement(), System.Xml.XmlWriter.WriteString(), and System.Xml.XmlRawWriter.WriteWhitespace().

Referenced by System.Xml.Xsl.Runtime.XmlMergeSequenceWriter.CopyNode().