diff --git a/webRequest.js b/webRequest.js old mode 100644 new mode 100755 index 7a5b8c6..1513927 --- a/webRequest.js +++ b/webRequest.js @@ -59,7 +59,7 @@ function createFreeRelations(docEle){ if (theChild.childNodes.length>0){ createFreeRelations(theChild); } - if (theChild.nodeName=="NODEREL"){ + if (theChild.nodeName.toUpperCase()=="NODEREL"){ if (theChild.getAttribute("relationtype")!="main"){ var newNodeRel=new nodeRel().fromXML(theChild); newNodeRel.redraw(); @@ -240,4 +240,4 @@ function getUserInfo(attribute) { var parser=new DOMParser(); var doc=parser.parseFromString(txtResp,"text/xml"); return(doc.documentElement.getAttribute(attribute)); -} \ No newline at end of file +}