return xpathReplacements;
}
private XdmNode makeReplacements(XdmNode doc, List<XPathReplacement> replacements) {
for (XPathReplacement xpathRepl : replacements) {
matcher = new ProcessMatch(runtime, xpathRepl);
xpathRepl.setMatcher(matcher);
matcher.match(doc, new RuntimeValue(xpathRepl.getXPath()));
doc = matcher.getResult();
}