debug : error in firefox :

"error parsing xml Node cannot be used in a document other than the one in which it was created"
solution here :
https://stackoverflow.com/a/53015232
This commit is contained in:
2026-01-27 23:19:57 +01:00
parent 619c510443
commit b856623268

View File

@@ -313,7 +313,7 @@
const xmlDoc = parser.parseFromString(xmlInputContent, "text/xml");
// Exécuter la requête XPath
const xpathResult = document.evaluate(
const xpathResult = xmlDoc.evaluate(
xpathQuery,
xmlDoc,
null,
@@ -348,7 +348,7 @@
const xmlDoc = parser.parseFromString(xmlInputContent, "text/xml");
// Exécuter la requête XPath
const xpathResult = document.evaluate(
const xpathResult = xmlDoc.evaluate(
"/lxplot/layers/layer/shape",
xmlDoc,
null,