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

◆ WriteLocalNamespaces()

void System.Xml.XmlWriter.WriteLocalNamespaces ( XPathNavigator nsNav)
inlineprivateinherited

Definition at line 450 of file XmlWriter.cs.

451 {
452 string localName = nsNav.LocalName;
453 string value = nsNav.Value;
454 if (nsNav.MoveToNextNamespace(XPathNamespaceScope.Local))
455 {
457 }
458 if (localName.Length == 0)
459 {
460 WriteAttributeString(string.Empty, "xmlns", "http://www.w3.org/2000/xmlns/", value);
461 }
462 else
463 {
464 WriteAttributeString("xmlns", localName, "http://www.w3.org/2000/xmlns/", value);
465 }
466 }
void WriteLocalNamespaces(XPathNavigator nsNav)
Definition XmlWriter.cs:450
void WriteAttributeString(string localName, string? ns, string? value)
Definition XmlWriter.cs:46

References System.Xml.Dictionary, System.value, System.Xml.XmlWriter.WriteAttributeString(), and System.Xml.XmlWriter.WriteLocalNamespaces().

Referenced by System.Xml.XmlWriter.WriteLocalNamespaces(), and System.Xml.XmlWriter.WriteNode().