var saxon = require('saxonXslt');

saxon.XPathProcessor.prototype.evaluate(xPath);

Evaluates the xpath.

  • xPath → the xpath
  • return ← XdmValue

saxon.XPathProcessor.prototype.evaluateSingle(xPath);

Evaluates the xpath.

  • xPath → the xpath
  • return ← XdmValue

saxon.XPathProcessor.prototype.setContextFile(xmlFilePath);

Loads xml for subsequent xpath evaluations.

  • xmlFilePath → the path to the xml document
  • return ← void

saxon.XPathProcessor.prototype.declareNamespace(prefix, uri);

Loads xml for subsequent xpath evaluations.

  • prefix → the namespace prefix
  • prefix → the namespace uri
  • return ← void