@tradik/xslt-processor 1.0.2 → 1.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2012,12 +2012,7 @@ var XsltEngine = class {
2012
2012
  context.variables[name] = this.evaluateVariable(def, context);
2013
2013
  }
2014
2014
  const fragment = doc.createDocumentFragment();
2015
- this.applyTemplates(
2016
- [sourceNode.documentElement || sourceNode],
2017
- null,
2018
- context,
2019
- fragment
2020
- );
2015
+ this.applyTemplates([sourceNode], null, context, fragment);
2021
2016
  return fragment;
2022
2017
  }
2023
2018
  /**