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

◆ GetLocalNamespaces()

static int MS.Internal.Xml.Cache.XPathNodeHelper.GetLocalNamespaces ( XPathNode[] pageElem,
int idxElem,
out XPathNode[] pageNmsp )
inlinestatic

Definition at line 7 of file XPathNodeHelper.cs.

8 {
9 if (pageElem[idxElem].HasNamespaceDecls)
10 {
11 return pageElem[idxElem].Document.LookupNamespaces(pageElem, idxElem, out pageNmsp);
12 }
13 pageNmsp = null;
14 return 0;
15 }

References MS.Internal.Xml.Cache.XPathNode.Document, and System.Xml.XPath.XPathDocument.LookupNamespaces().

Referenced by MS.Internal.Xml.Cache.XPathDocumentNavigator.MoveToFirstNamespace().