@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.
@@ -2052,12 +2052,7 @@ var XsltEngine = class {
2052
2052
  context.variables[name] = this.evaluateVariable(def, context);
2053
2053
  }
2054
2054
  const fragment = doc.createDocumentFragment();
2055
- this.applyTemplates(
2056
- [sourceNode.documentElement || sourceNode],
2057
- null,
2058
- context,
2059
- fragment
2060
- );
2055
+ this.applyTemplates([sourceNode], null, context, fragment);
2061
2056
  return fragment;
2062
2057
  }
2063
2058
  /**