XPath in python import lxml.etree. docRoot = lxml.etree.parse(source="monty.xml") answer = docRoot.xpath("/film/@name") print answer ...
確定! 回上一頁