参考:EdwardLau的博客,网址:http://www.cnblogs.com/edwardlauxh/archive/2012/07/01/2572249.html
使用org.w3c.dom.Node下的getTextContent()方法会出现The method getTextContent() is undefined for the type Node 提示,解决方法如下:project-->properties->java build path-->order and export 把JRE System 提升到顶部既可