先搭建一个web服务器,建议apache服务器,安装教程:https://blog.csdn.net/zhangnana200/article/details/77116030 1.Pull解析方式 2.SAX解析方式 3.DOM解析方式