我正在分析这个文件:https://www.crossref.org/xml-samples/article_with_references.xml,看起来我不明白https://docs.python.org/2/library/xml.etree.elementtree.html
如果
for child in root.getchildren():
print(child.tag)
结果包括:
{schema}head
{schema}body
原因:
root.find('head')
没有结果?你知道吗
我真的需要写信吗
root.find('{schema}head')
或者有没有办法避免重复{schema}
和简单地写head
?你知道吗
目前没有回答
相关问题 更多 >
编程相关推荐