Hi,

I need to execute selected function from xq files which contains a number of xquery functions.
Is this possible using saxon.api?


Processor processor = new Processor();
        XQueryCompiler compiler = processor.NewXQueryCompiler();
        XQueryExecutable exp = compiler.Compile(<Filename>/<Function name>);
        XQueryEvaluator eval = exp.Load();
        XdmValue value = eval.Evaluate();

Regards,
Virendra