private boolean parseItems(Document doc)
	{
		NodeList nodes = doc.getElementsByTagName(XmlTag.ITEM_SECTION.toString());
		if(nodes.getLength() == 0) return false; //ITEM_SECTION not found
		NodeList items = ((Element)nodes.item(0)).getElementsByTagName(XmlTag.ITEM.toString());
		for(int item_num = 0; item_num < items.getLength(); item_num++)
		{
			Element item = (Element) items.item(item_num);
			int x = Integer.parseInt(item.getAttribute(XmlTag.X.toString()));
			int y = Integer.parseInt(item.getAttribute(XmlTag.Y.toString()));
			String name = item.getAttribute(XmlTag.NAME.toString());
			String type = item.getAttribute(XmlTag.TYPE.toString());
			int weight = Integer.parseInt(item.getAttribute(XmlTag.WEIGHT.toString()));
			
			if(type.equalsIgnoreCase("weapon"))
			{
				int attack = Integer.parseInt(item.getAttribute(XmlTag.ATTACK.toString()));
				if(!level.addWeapon(name, weight, attack, x, y)) return false;
			}
			else
			{
				if(!level.addItem(name, weight, x, y)) return false;
			}
		}
		return true;
	}