void parse(XdmNode node) { port = XProcUtil.getAttrString(node, "port"); sequence = XProcUtil.getAttrBool(node, "sequence", false); primary = XProcUtil.getAttrBoolean(node, "primary"); kind = XProcUtil.getAttrString(node, "kind"); select = new XPathExpression(XProcUtil.getAttrString(node, "select"), false); // parse children parseChildren(node); }
@Override void parse(XdmNode node) { String hr = XProcUtil.getAttrString(node, "href"); URI base = node.getBaseURI(); if (base != null) href = base.resolve(hr).toString(); else href = hr; }