Example #1
0
        public object EvaluateKey(IStaticXsltContext staticContext, BaseIterator iter, Expression nameExpr, Expression valueExpr)
        {
            XmlQualifiedName keyName    = this.GetKeyName(staticContext, iter, nameExpr);
            KeyIndexTable    indexTable = this.GetIndexTable(keyName);

            return(indexTable.Evaluate(iter, valueExpr));
        }
Example #2
0
        public object EvaluateKey(IStaticXsltContext staticContext,
                                  BaseIterator iter,
                                  Expression nameExpr, Expression valueExpr)
        {
            QName         name  = GetKeyName(staticContext, iter, nameExpr);
            KeyIndexTable table = GetIndexTable(name);

            return(table.Evaluate(iter, valueExpr));
        }