diff --git a/js_native/lxplan_lib_builder.html b/js_native/lxplan_lib_builder.html
index ef243da..40f2577 100644
--- a/js_native/lxplan_lib_builder.html
+++ b/js_native/lxplan_lib_builder.html
@@ -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,