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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user