Package org.exist.xquery

Examples of org.exist.xquery.RootNode.eval()


    public Sequence eval(Sequence contextSequence, Item contextItem) throws XPathException {
     
        if (contextSequence == null || contextSequence.isEmpty()) {
            // if the context sequence is empty, we create a default context
            final RootNode rootNode = new RootNode(context);
            contextSequence = rootNode.eval(null, null);
        }
        final Sequence[] args = getArguments(null, null);
       
        final Item item = args[0].itemAt(0);
        QNameValue qval;
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.