def getText(self, nodelist):
"""Get the text value of an XML tag (from the minidom doc)."""
rc = []
for node in nodelist:
if node.nodeType == node.TEXT_NODE:
rc.append(node.data)
return ''.join(rc)
internalapi.py 文件源码
python
阅读 21
收藏 0
点赞 0
评论 0
评论列表
文章目录