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

◆ Name

string System.Xml.XPathNodePointer.Name
getpackage

Definition at line 96 of file XPathNodePointer.cs.

97 {
98 get
99 {
100 RealFoliate();
101 if (_node == null)
102 {
103 return string.Empty;
104 }
105 if (_column == null)
106 {
107 XmlNodeType nodeType = _node.NodeType;
108 if (IsNamespaceNode(nodeType, _node.NamespaceURI))
109 {
110 if (_node.LocalName == "xmlns")
111 {
112 return string.Empty;
113 }
114 return _node.LocalName;
115 }
116 if (nodeType == XmlNodeType.Element || nodeType == XmlNodeType.Attribute || nodeType == XmlNodeType.ProcessingInstruction)
117 {
118 return _node.Name;
119 }
120 return string.Empty;
121 }
122 if (_fOnValue)
123 {
124 return string.Empty;
125 }
127 }
128 }
bool IsNamespaceNode(XmlNodeType nt, string ns)
readonly XmlDataDocument _doc
string Add(char[] array, int offset, int length)
virtual string NamespaceURI
Definition XmlNode.cs:139
XmlNodeType NodeType
Definition XmlNode.cs:73