读取HTML文件(采用org.dom4j.*):
SAXReader saxReader = new SAXReader();
Document document = saxReader.read(new File(filename));
获取document对象时控制台报错:
[color=red]The entity name must immediately follow the '&' in the entity reference.[/color]
SAXReader saxReader = new SAXReader();
Document document = saxReader.read(new File(filename));
获取document对象时控制台报错:
[color=red]The entity name must immediately follow the '&' in the entity reference.[/color]