@tradik/xslt-processor 1.0.1 → 1.0.2

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.
@@ -1991,8 +1991,8 @@ var XsltEngine = class {
1991
1991
  throw new Error("No output document available");
1992
1992
  }
1993
1993
  const context = new XsltContext({
1994
- currentNode: sourceNode.documentElement || sourceNode,
1995
- currentNodeList: [sourceNode.documentElement || sourceNode],
1994
+ currentNode: sourceNode,
1995
+ currentNodeList: [sourceNode],
1996
1996
  position: 1,
1997
1997
  outputDocument: doc,
1998
1998
  stylesheet: this.stylesheetDoc,