doc = etree.parse(f) >>> r = doc.xpath('/x:foo/b:bar', ... The prefixes you choose here are not linked to the prefixes used inside the XML document.
確定! 回上一頁