http://docs.python.org/2.7/library/xml.dom.html http://blog.csdn.net/liuyuehui110/article/details/7287897