diff --git a/striped/StripEd.svg b/striped/StripEd.svg index c5de90d..f62790d 100644 --- a/striped/StripEd.svg +++ b/striped/StripEd.svg @@ -90,7 +90,7 @@ Charger un strip depuis du code XML - + @@ -638,7 +638,7 @@ return xmlDoc.responseXML; } function getXmlFromText(txt) { - var xmlDoc = new XML(txt); + var xmlDoc = new DOMParser().parseFromString(txt,"text/xml"); return xmlDoc; } function parseStrip(xmlFile) { @@ -671,6 +671,7 @@ strip.ajouterCase(kase); } } + alert(new XMLSerializer().serializeToString(xmlFile)); return strip; }