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

◆ Document()

XPathNodeIterator System.Xml.Xsl.XsltOld.XsltCompileContext.Document ( object arg0,
string baseUri )
inlineprivate

Definition at line 636 of file XsltCompileContext.cs.

637 {
639 {
641 Hashtable hashtable = new Hashtable();
642 while (xPathNodeIterator.MoveNext())
643 {
644 Uri uri = ComposeUri(xPathNodeIterator.Current.Value, baseUri ?? xPathNodeIterator.Current.BaseURI);
645 if (!hashtable.ContainsKey(uri))
646 {
647 hashtable.Add(uri, null);
649 }
650 }
651 return new XPathArrayIterator(arrayList);
652 }
653 return new XPathSingletonIterator(_processor.GetNavigator(ComposeUri(XmlConvert.ToXPathString(arg0), baseUri ?? _manager.Navigator.BaseURI)));
654 }
virtual bool ContainsKey(object key)
Definition Hashtable.cs:724
virtual void Add(object key, object? value)
Definition Hashtable.cs:676
XPathNavigator GetNavigator(Uri ruri)
Definition Processor.cs:128
Uri ComposeUri(string thisUri, string baseUri)

References System.Xml.Xsl.XsltOld.XsltCompileContext._manager, System.Xml.Xsl.XsltOld.XsltCompileContext._processor, System.Collections.Hashtable.Add(), System.Xml.XPath.XPathNavigator.BaseURI, System.Xml.Xsl.XsltOld.XsltCompileContext.ComposeUri(), System.Collections.Hashtable.ContainsKey(), System.Xml.Dictionary, System.Xml.Xsl.XsltOld.Processor.GetNavigator(), System.Xml.Xsl.XsltOld.InputScopeManager.Navigator, and System.Xml.XmlConvert.ToXPathString().