public static void getTraitBoons(Tidy tidy, Document doc, Trait[] traits) {
		try {
			 XPath xpath = XPathFactory.newInstance().newXPath();
			 XPathExpression expr = xpath.compile("//table[@id = 'traits']/tr/td/text() |" +
					 													 "//table[@id = 'traits']/tr/td/a/text()"); 
			 NodeList nodes = (NodeList)expr.evaluate(doc, XPathConstants.NODESET);
			 ArrayList<String> skills = new ArrayList<String>();
			 String temp;
			 String nodeVal;
			 for(int i = 0; i < nodes.getLength(); ) {
				 nodeVal = nodes.item(i++).getNodeValue() + ", ";
				 ++i;
				 temp = nodeVal;
				 nodeVal = nodes.item(i++).getNodeValue() + ", ";
				 while(!nodeVal.equals("Adept") && !nodeVal.equals("Master") && !nodeVal.equals("Grandmaster") && i < nodes.getLength())
				 {
					 if(nodeVal.trim() != "") {
						 temp += nodeVal;
					 }

					 nodeVal = nodes.item(i++).getNodeValue();
				 }
				 skills.add(temp);
				 //temp = nodes.item(i++).getNodeValue() + ",";
				 System.out.println(temp);
				 --i;
			 }
		}catch (XPathExpressionException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}  
	}