Package com.xmlcalabash.util

Examples of com.xmlcalabash.util.XPointer.selectNodes()


            if (ptr.matches("^[\\w]+$")) {
                ptr = "element(" + ptr + ")";
            }

            XPointer xptr = new XPointer(ptr);
            Vector<XdmNode> nodes = xptr.selectNodes(runtime, doc);

            if (nodes.size() == 1) {
                doc = nodes.get(0);
            } else if (nodes.size() != 0) {
                throw new XProcException(node, "XPointer matches more than one node!?");
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.