590591592593594595596597598599600
xctxt.popCurrentNode(); } xctxt.popContextNodeList(); iterationList = iterationSet; for (int i = 0; i < iterationList.getLength(); i++) {
241242243244245246247248249250251
result = dynamicXPath.execute(xctxt, contextNode, xctxt.getNamespaceContext()).num(); } catch (TransformerException e) { xctxt.popCurrentNode(); xctxt.popContextNodeList(); return Double.NaN; } xctxt.popCurrentNode();
251252253254255256257258259260261
if (result < minValue) minValue = result; } xctxt.popContextNodeList(); return minValue; } /**
321322323324325326327328329330331
331332333334335336337338339340341
sum = sum + result; } xctxt.popContextNodeList(); return sum; } /** * The dyn:map function evaluates the expression passed as the second argument for
459460461462463464465466467468469
} } catch (Exception e) { xctxt.popCurrentNode(); xctxt.popContextNodeList(); return new NodeSet(); } xctxt.popCurrentNode();
467468469470471472473474475476477
xctxt.popCurrentNode(); } xctxt.popContextNodeList(); return resultSet; } /** * The dyn:evaluate function evaluates a string as an XPath expression and returns
607608609610611612613614615616617
} } else { xctxt.popCurrentNode(); xctxt.popContextNodeList(); return new NodeSet(); } } catch (TransformerException e) {
614615616617618619620621622623624
} } catch (TransformerException e) { xctxt.popCurrentNode(); xctxt.popContextNodeList(); return new NodeSet(); } xctxt.popCurrentNode();
622623624625626627628629630631632