public void run() throws SaxonApiException { super.run(); while (source.moreDocuments()) { XdmNode node = source.read(); } } }
public void run() throws SaxonApiException { super.run(); while (source.moreDocuments()) { XdmNode node = source.read(); } } }
public void run() throws SaxonApiException { super.run(); while (source.moreDocuments()) { XdmNode doc = source.read(); logger.trace("Identity step " + step.getName() + " read " + doc.getDocumentURI()); result.write(doc); } } }
public void run() throws SaxonApiException { super.run(); Processor proc = runtime.getProcessor(); SchemaManager manager = proc.getSchemaManager(); if (manager == null) { validateWithXerces(); } else { validateWithSaxonSA(manager); } }
public void run() throws SaxonApiException { super.run(); RuntimeValue match = getOption(_match); replace = getOption(_replace); for (String prefix : replace.getNamespaceBindings().keySet()) { rns.put(prefix, replace.getNamespaceBindings().get(prefix)); } matcher = new ProcessMatch(runtime, this); matcher.match(source.read(), match); result.write(matcher.getResult()); }
public void run() throws SaxonApiException { super.run(); RuntimeValue match = getOption(_match); replace = getOption(_replace); for (String prefix : replace.getNamespaceBindings().keySet()) { rns.put(prefix, replace.getNamespaceBindings().get(prefix)); } matcher = new ProcessMatch(runtime, this); matcher.match(source.read(), match); result.write(matcher.getResult()); }
public void run() throws SaxonApiException { super.run(); Processor proc = runtime.getProcessor(); if (proc.isSchemaAware()) { SchemaManager manager = proc.getSchemaManager(); validateWithSaxonSA(manager); } else { validateWithXerces(); } }
public void run() throws SaxonApiException { super.run(); ProcessMatch matcher = null; matcher = new ProcessMatch(runtime, this); matcher.match(source.read(), getOption(_match)); XdmNode tree = matcher.getResult(); result.write(tree); }
public void run() throws SaxonApiException { super.run(); matcher = new ProcessMatch(runtime, this); matcher.match(source.read(), getOption(_match)); result.write(matcher.getResult()); }
public void run() throws SaxonApiException { super.run(); matcher = new ProcessMatch(runtime, this); matcher.match(source.read(), getOption(_match)); result.write(matcher.getResult()); }
public void run() throws SaxonApiException { super.run(); ProcessMatch matcher = null; matcher = new ProcessMatch(runtime, this); matcher.match(source.read(), getOption(_match)); XdmNode tree = matcher.getResult(); result.write(tree); }
public void run() throws SaxonApiException { super.run(); String selectExpr = getOption(_select).getString(); Select input = new Select(runtime,source,selectExpr,step.getNode()); while (input.moreDocuments()) { XdmNode doc = input.read(); result.write(doc); } } }
public void run() throws SaxonApiException { super.run(); position = getOption(_position).getString(); XdmNode doc = source.read(); matcher = new ProcessMatch(runtime, this); matcher.match(doc, getOption(_match)); result.write(matcher.getResult()); }
public void run() throws SaxonApiException { super.run(); position = getOption(_position).getString(); XdmNode doc = source.read(); matcher = new ProcessMatch(runtime, this); matcher.match(doc, getOption(_match)); result.write(matcher.getResult()); }
public void run() throws SaxonApiException { super.run(); HashSet<String> excludeUris = S9apiUtils.excludeInlinePrefixes(step.getNode(), getOption(_prefixes).getString()); while (source.moreDocuments()) { XdmNode doc = source.read(); logger.trace(MessageFormatter.nodeMessage(step.getNode(), "Namespace-delete step " + step.getName() + " read " + doc.getDocumentURI())); doc = S9apiUtils.removeNamespaces(runtime, doc, excludeUris, false); result.write(doc); } } }
public void run() throws SaxonApiException { super.run(); HashSet<String> excludeUris = S9apiUtils.excludeInlinePrefixes(step.getNode(), getOption(_prefixes).getString()); while (source.moreDocuments()) { XdmNode doc = source.read(); logger.trace(MessageFormatter.nodeMessage(step.getNode(), "Namespace-delete step " + step.getName() + " read " + doc.getDocumentURI())); doc = S9apiUtils.removeNamespaces(runtime, doc, excludeUris, false); result.write(doc); } } }
public void run() throws SaxonApiException { super.run(); matcher = new ProcessMatch(runtime, this); matcher.match(source.read(), getOption(_match)); if (source.moreDocuments()) { throw XProcException.dynamicError(6, "Reading source on " + getStep().getName()); } result.write(matcher.getResult()); }
public void run() throws SaxonApiException { super.run(); all = getOption(_all, false); relative = getOption(_relative, true); if (all && relative) { throw XProcException.stepError(58); } matcher = new ProcessMatch(runtime, this); matcher.match(source.read(), new RuntimeValue("*", step.getNode())); XdmNode doc = matcher.getResult(); result.write(doc); }
public void run() throws SaxonApiException { super.run(); matcher = new ProcessMatch(runtime, this); matcher.match(source.read(), getOption(_match)); if (source.moreDocuments()) { throw XProcException.dynamicError(6, "Reading source on " + getStep().getName()); } result.write(matcher.getResult()); }
public void run() throws SaxonApiException { super.run(); all = getOption(_all, false); relative = getOption(_relative, true); if (all && relative) { throw XProcException.stepError(58); } matcher = new ProcessMatch(runtime, this); matcher.match(source.read(), new RuntimeValue("*", step.getNode())); XdmNode doc = matcher.getResult(); result.write(doc); }