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.js
CHANGED
|
@@ -17455,13 +17455,7 @@ var Xslt = class {
|
|
|
17455
17455
|
node = context.nodeList[context.position];
|
|
17456
17456
|
let newNode;
|
|
17457
17457
|
newNode = domCreateElement(this.outputDocument, template.nodeName);
|
|
17458
|
-
|
|
17459
|
-
newNode.siblingPosition = node.siblingPosition;
|
|
17460
|
-
} else if (node === void 0 && context.nodeList.length === 0) {
|
|
17461
|
-
newNode.siblingPosition = (output || this.outputDocument).childNodes.length;
|
|
17462
|
-
} else {
|
|
17463
|
-
newNode.siblingPosition = 0;
|
|
17464
|
-
}
|
|
17458
|
+
newNode.siblingPosition = (output || this.outputDocument).childNodes.length;
|
|
17465
17459
|
domAppendChild(output || this.outputDocument, newNode);
|
|
17466
17460
|
const useAttributeSetsAttr = template.childNodes.find(
|
|
17467
17461
|
(a) => (a == null ? void 0 : a.nodeType) === DOM_ATTRIBUTE_NODE && a.nodeName === "use-attribute-sets"
|