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

◆ NewNamespaceNode()

int MS.Internal.Xml.Cache.XPathDocumentBuilder.NewNamespaceNode ( out XPathNode[] page,
string prefix,
string namespaceUri,
XPathNode[] pageElem,
int idxElem )
inlineprivate

Definition at line 499 of file XPathDocumentBuilder.cs.

500 {
503 XPathNodeInfoAtom info = _infoTable.Create(prefix, string.Empty, string.Empty, string.Empty, pageElem, page2, null, _doc, _lineNumBase, _linePosBase);
504 page2[idx].Create(info, XPathNodeType.Namespace, idxElem);
505 page2[idx].SetValue(namespaceUri);
506 page2[idx].SetLineInfoOffsets(lineNumOffset, linePosOffset);
507 page = page2;
508 return idx;
509 }
void ComputeLineInfo(bool isTextNode, out int lineNumOffset, out int linePosOffset)
XPathNodeInfoAtom Create(string localName, string namespaceUri, string prefix, string baseUri, XPathNode[] pageParent, XPathNode[] pageSibling, XPathNode[] pageSimilar, XPathDocument doc, int lineNumBase, int linePosBase)

References MS.Internal.Xml.Cache.XPathDocumentBuilder._doc, MS.Internal.Xml.Cache.XPathDocumentBuilder._infoTable, MS.Internal.Xml.Cache.XPathDocumentBuilder._lineNumBase, MS.Internal.Xml.Cache.XPathDocumentBuilder._linePosBase, MS.Internal.Xml.Cache.XPathDocumentBuilder._nmspPageFact, MS.Internal.Xml.Cache.XPathDocumentBuilder.NodePageFactory.AllocateSlot(), MS.Internal.Xml.Cache.XPathDocumentBuilder.ComputeLineInfo(), MS.Internal.Xml.Cache.XPathNodeInfoTable.Create(), System.Xml.Dictionary, System.info, and System.prefix.

Referenced by MS.Internal.Xml.Cache.XPathDocumentBuilder.Initialize(), and MS.Internal.Xml.Cache.XPathDocumentBuilder.WriteNamespaceDeclaration().