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

◆ BuildKeyTable()

Hashtable System.Xml.Xsl.XsltOld.XsltCompileContext.BuildKeyTable ( Key key,
XPathNavigator root )
inlineprivate

Definition at line 656 of file XsltCompileContext.cs.

657 {
658 Hashtable hashtable = new Hashtable();
663 while (xPathNodeIterator.MoveNext())
664 {
665 XPathNavigator current = xPathNodeIterator.Current;
667 if (current.MoveToFirstAttribute())
668 {
669 do
670 {
672 }
673 while (current.MoveToNextAttribute());
674 current.MoveToParent();
675 }
676 }
677 return hashtable;
678 }
virtual XPathNodeIterator SelectDescendants(XPathNodeType type, bool matchSelf)
string GetQueryExpression(int key)
Definition Processor.cs:371
static void EvaluateKey(XPathNavigator node, Query matchExpr, string matchStr, Query useExpr, Hashtable keyTable)

References System.Xml.Xsl.XsltOld.XsltCompileContext._processor, System.Xml.Dictionary, System.Xml.Xsl.XsltOld.XsltCompileContext.EvaluateKey(), System.Xml.Xsl.XsltOld.Processor.GetCompiledQuery(), System.Xml.Xsl.XsltOld.Processor.GetQueryExpression(), System.key, System.Xml.XPath.XPathNavigator.MoveToFirstAttribute(), System.Xml.XPath.XPathNavigator.MoveToNextAttribute(), System.Xml.XPath.XPathNavigator.MoveToParent(), and System.Xml.XPath.XPathNavigator.SelectDescendants().