internal CompiledExpression CompileExpression(string expression, bool isKey) { if (expression == null || expression == "") { return(null); } Expression expr = xpathParser.Compile(expression); if (isKey) { expr = new ExprKeyContainer(expr); } CompiledExpression e = new CompiledExpression(expression, expr); return(e); }