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

◆ MoveToNamespace()

override bool System.Xml.XPath.XNodeNavigator.MoveToNamespace ( string localName)
inlinevirtual

Reimplemented from System.Xml.XPath.XPathNavigator.

Definition at line 409 of file XNodeNavigator.cs.

410 {
412 {
413 if (localName == "xmlns")
414 {
415 return false;
416 }
417 if (localName != null && localName.Length == 0)
418 {
419 localName = "xmlns";
420 }
422 {
423 if (xAttribute.Name.LocalName == localName)
424 {
427 return true;
428 }
429 }
430 if (localName == "xml")
431 {
434 return true;
435 }
436 }
437 return false;
438 }
static XAttribute GetXmlNamespaceDeclaration()
static XAttribute GetNextNamespaceDeclarationGlobal(XAttribute a)
static XAttribute GetFirstNamespaceDeclarationGlobal(XElement e)

References System.Xml.XPath.XNodeNavigator._parent, System.Xml.XPath.XNodeNavigator._source, System.Xml.Dictionary, System.Xml.XPath.XNodeNavigator.GetFirstNamespaceDeclarationGlobal(), System.Xml.XPath.XNodeNavigator.GetNextNamespaceDeclarationGlobal(), and System.Xml.XPath.XNodeNavigator.GetXmlNamespaceDeclaration().