Citation:
function importXML(){
if (document.implementation && document.implementation.createDocument){
xmlDoc = document.implementation.createDocument("", "", null);
//alert('firefox');
xmlDoc.onload = createTable;
}else if (window.ActiveXObject){
xmlDoc = new ActiveXObject("Microsoft.XMLDOM");
//alert('ie');
xmlDoc.onreadystatechange = function () {
if (xmlDoc.readyState == 4) createTable()
};
}else{
alert('Your browser can\'t handle this script');
return;
}
xmlDoc.load("librairie.xml");
//alert(xmlDoc);
}
Dans createTable() -->