Package client.net.sf.saxon.ce.tree.iter

Examples of client.net.sf.saxon.ce.tree.iter.AxisIterator


    }

    public void validate(Declaration decl) throws XPathException {

        // 2.0 spec has reverted to the 1.0 rule that xsl:text may not have child elements
        AxisIterator kids = iterateAxis(Axis.CHILD);
        value = StringValue.EMPTY_STRING;
        while(true) {
            Item child = kids.next();
            if (child == null) {
                break;
            } else if (child instanceof StyleElement) {
                ((StyleElement)child).compileError("xsl:text must not contain child elements", "XTSE0010");
                return;
View Full Code Here


        NodeInfo canonicalClassKeys = null;
        NodeInfo canonicalClassValues = null;
        NodeInfo decompositionKeys = null;
        NodeInfo decompositionValues = null;

        AxisIterator iter = doc.iterateAxis(Axis.DESCENDANT, NodeKindTest.ELEMENT);
        while (true) {
            NodeInfo item = (NodeInfo)iter.next();
            if (item == null) {
                break;
            }
            if (item.getLocalPart().equals("CanonicalClassKeys")) {
                canonicalClassKeys = item;
View Full Code Here

            }
            if (LogConfiguration.loggingIsEnabled()) {
              contextNodeName = (contextNodeName.equals("")? "" : " context node: " + contextNodeName);
            }

            AxisIterator iterator = SingleNodeIterator.makeIterator(contextItem);
            iterator.next(); // position on the single item
            c3.setCurrentIterator(iterator);
            SequenceIterator iter = expr.iterate(c3);
            Item resultItem = iter.next();
           
            if (resultItem == null) {} // do nothing
View Full Code Here

TOP

Related Classes of client.net.sf.saxon.ce.tree.iter.AxisIterator

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.