UNPKG

@genexus/web-standard-functions

Version:

GeneXus JavaScript standard functions library for web generators

15 lines 606 B
"use strict"; /** * The XSLTApply function receives the XSLT file path, and applies it to a string variable or XML file variable. * @param {string} xmlString * @param {string} xsltString * @return string */ Object.defineProperty(exports, "__esModule", { value: true }); exports.xsltApply = void 0; const xslt_processor_1 = require("xslt-processor"); const xsltApply = (xmlString, xsltString) => { return (0, xslt_processor_1.xsltProcess)((0, xslt_processor_1.xmlParse)(xmlString), (0, xslt_processor_1.xmlParse)(xsltString)); }; exports.xsltApply = xsltApply; //# sourceMappingURL=xsltApply.js.map