docRoot = lxml.etree.parse(source="monty.xml") ... Create a dictionary relating namespace URIs ... Pass dictionary to XPath function.
確定! 回上一頁