code: public static String getInnerText(Node node)
  	{
  		if (node instanceof Element)
  			return ((Element)node).getTextContent();
  		if (node.getNodeType() == Node.TEXT_NODE)
  			return node.getNodeValue();
  		if (node instanceof Text)
  			return ((Text)node).getData();
  		return null;
  	}
docs: Return the inner text of a node.