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

◆ OnCurrentNodeChanged()

static int System.Xml.Xsl.Runtime.XmlQueryRuntime.OnCurrentNodeChanged ( XPathNavigator currentNode)
inlinestatic

Definition at line 716 of file XmlQueryRuntime.cs.

717 {
718 if (currentNode is IXmlLineInfo xmlLineInfo && (currentNode.NodeType != XPathNodeType.Namespace || !IsInheritedNamespace(currentNode)))
719 {
720 OnCurrentNodeChanged2(currentNode.BaseURI, xmlLineInfo.LineNumber, xmlLineInfo.LinePosition);
721 }
722 return 0;
723 }
static void OnCurrentNodeChanged2(string baseUri, int lineNumber, int linePosition)
static bool IsInheritedNamespace(XPathNavigator node)

References System.Xml.XPath.XPathNavigator.BaseURI, System.Xml.Xsl.Runtime.XmlQueryRuntime.IsInheritedNamespace(), System.Xml.XPath.XPathNavigator.NodeType, and System.Xml.Xsl.Runtime.XmlQueryRuntime.OnCurrentNodeChanged2().