NodeList children = t.getChildNodes();
    private Tile unmarshalTile(Node t) throws Exception {        Tile tile = null;        try {            tile = (Tile)unmarshalClass(Tile.class,t);        } catch (Exception e) {            e.printStackTrace();        }        		NodeList children = t.getChildNodes();		for (int i = 0; i < children.getLength(); i++) {			Node child = children.item(i);			if(child.getNodeName().equalsIgnoreCase("image")) {				tile.setImage(unmarshalImage(child));			} else if(child.getNodeName().equalsIgnoreCase("property")) {				tile.setProperty(getAttributeValue(child,"name"),getAttributeValue(child,"value"));			}		}        return tile;    }