var saxon = require('saxonXslt');

saxon.SaxonProcessor(license)

Constructs a saxon processor.

  • license → a license license is to be used. Default is false

saxon.SaxonProcessor.prototype.newTransformer()

saxon.SaxonProcessor.prototype.newXQueryProcessor()

saxon.SaxonProcessor.prototype.newXPathProcessor()

saxon.SaxonProcessor.prototype.newSchemaValidator()

saxon.SaxonProcessor.prototype.makeValue(value);

make a value based on the primitive type or string.

  • value → can be boolean, integer, float or string
  • return ← a XdmAtomicValue representation of the value

saxon.SaxonProcessor.prototype.makeQNameValue(value);

make a qname based on the Clark notation string.

  • value → a string representinga qname (e.g. “{http://www.xml-cml.org/schema}cml”)
  • return ← a XdmAtomicValue representation of the qname

saxon.SaxonProcessor.prototype.getStringValue(item);

get a string representation of a XdmItem.

  • item → an XdmItem
  • return ← a string

saxon.SaxonProcessor.prototype.parseXmlFromString(xmlString);

load xml source from string.

  • value → string of xml
  • return ← a XdmNode representation of the xml

saxon.SaxonProcessor.prototype.parseXmlFromFile(xmlPath);

load xml source from file path.

  • value → location on filesystem
  • return ← a XdmNode representation of the xml

saxon.SaxonProcessor.prototype.parseXmlFromUri(xmlString);

load xml source from uri.

  • value → uri location of xml
  • return ← a XdmNode representation of the xml

saxon.SaxonProcessor.prototype.isSchemaAware()

  • return ← true or false

saxon.SaxonProcessor.prototype.version()

  • return ← the version at runtime

saxon.SaxonProcessor.prototype.release()

After use clean up to exit gracefully