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

◆ LocalName

string System.Xml.XPathNodePointer.LocalName
getpackage

Definition at line 66 of file XPathNodePointer.cs.

67 {
68 get
69 {
71 if (_node == null)
72 {
73 return string.Empty;
74 }
75 if (_column == null)
76 {
77 XmlNodeType nodeType = _node.NodeType;
78 if (IsNamespaceNode(nodeType, _node.NamespaceURI) && _node.LocalName == "xmlns")
79 {
80 return string.Empty;
81 }
82 if (nodeType == XmlNodeType.Element || nodeType == XmlNodeType.Attribute || nodeType == XmlNodeType.ProcessingInstruction)
83 {
84 return _node.LocalName;
85 }
86 return string.Empty;
87 }
88 if (_fOnValue)
89 {
90 return string.Empty;
91 }
93 }
94 }
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