public static void getTraitStats(Tidy tidy, Document doc, Trait[] traits) {
		try {
			 XPath xpath = XPathFactory.newInstance().newXPath();
			 XPathExpression expr = xpath.compile("//div[@id = 'bodyContent']/dl/dd/text() |" +
					 													 "//div[@id = 'bodyContent']/dl/dd/a/text()"); 
			 NodeList nodes = (NodeList)expr.evaluate(doc, XPathConstants.NODESET);
			 String modifiers = "";
			 for(int i = 1; i < nodes.getLength(); i++) {
				 modifiers += nodes.item(i).getNodeValue() + nodes.item(i+1).getNodeValue() + "\n";
				 i += 2;
			 }
			 String[] listModifiers = modifiers.split("\n");
			 for(int i = 0; i < listModifiers.length; i++) {
				 traits[i/2].setModifier1(listModifiers[i]);
				 traits[i/2].setModifier2(listModifiers[++i]);
			 }
		}catch (XPathExpressionException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}  
	}