xslt-processor 4.8.1 → 4.8.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.
- package/index.js +1 -7
- package/index.js.map +1 -1
- package/index.mjs +1 -7
- package/index.mjs.map +1 -1
- package/package.json +1 -1
- package/umd/xslt-processor.global.js +1 -1
- package/umd/xslt-processor.global.js.map +1 -1
package/index.mjs
CHANGED
|
@@ -17444,13 +17444,7 @@ var Xslt = class {
|
|
|
17444
17444
|
node = context.nodeList[context.position];
|
|
17445
17445
|
let newNode;
|
|
17446
17446
|
newNode = domCreateElement(this.outputDocument, template.nodeName);
|
|
17447
|
-
|
|
17448
|
-
newNode.siblingPosition = node.siblingPosition;
|
|
17449
|
-
} else if (node === void 0 && context.nodeList.length === 0) {
|
|
17450
|
-
newNode.siblingPosition = (output || this.outputDocument).childNodes.length;
|
|
17451
|
-
} else {
|
|
17452
|
-
newNode.siblingPosition = 0;
|
|
17453
|
-
}
|
|
17447
|
+
newNode.siblingPosition = (output || this.outputDocument).childNodes.length;
|
|
17454
17448
|
domAppendChild(output || this.outputDocument, newNode);
|
|
17455
17449
|
const useAttributeSetsAttr = template.childNodes.find(
|
|
17456
17450
|
(a) => (a == null ? void 0 : a.nodeType) === DOM_ATTRIBUTE_NODE && a.nodeName === "use-attribute-sets"
|