Template:Team:Paris Saclay/simbox

From 2013.igem.org

(Difference between revisions)
Line 42: Line 42:
   xmldata= parser.parseFromString(xhr.responseText, "application/xml");
   xmldata= parser.parseFromString(xhr.responseText, "application/xml");
   if(xmldata.documentElement.nodeName != 'xml')
   if(xmldata.documentElement.nodeName != 'xml')
-
   throw "XML Parsing error.";
+
   throw xmldata.documentElement.nodeName;
  }
  }
  catch(err)
  catch(err)

Revision as of 19:24, 2 August 2013