Purpose of this function as it's name says is to get only unique elements in loaded document

		var softXMLLib = new SoftXMLLib();
		softXMLLib.loadXML(xmlString);
		if(softXMLLib.loadXMLError!=0){
			alert("Invalid XML file!");
		}
		else{
			var myUniqueElems = softXMLLib.getUniqueElements();
			for(var i=0;i<myUniqueElems.length;i++){
				//use nodeName to get tagName of element
				alert(myUniqueElems[i].nodeName);
			}
			
		}