Package net.sf.saxon.instruct

Examples of net.sf.saxon.instruct.While


    public Expression compile(Executable exec) throws TransformerConfigurationException {
        Block block = new Block();
        compileChildren(exec, block, true);
        try {
            While w = new While(test, block.simplify(getStaticContext()));
            ExpressionTool.makeParentReferences(w);
            return w;
        } catch (XPathException e) {
            compileError(e);
            return null;
View Full Code Here


    public Expression compile(Executable exec) throws XPathException {
        Expression action = compileSequenceConstructor(exec, iterateAxis(Axis.CHILD), true);
        if (action == null) {
            action = Literal.makeEmptySequence();
        }
        While w = new While(test, action);
        return w;
    }
View Full Code Here

TOP

Related Classes of net.sf.saxon.instruct.While

Copyright © 2018 www.massapicom. 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.