0
在libxml2的幫助下,我發現:Python libxml2:xpathEval vs xpathEval2?
xpathEval(self, expr)
# Selecting nodes using XPath, a bit slow because the context
# is allocated/freed every time but convenient.
xpathEval2(self, expr)
這是令人困惑的是xpathEval2不包括進一步的評論。他們之間有什麼不同?
非常感謝你@estani :) – comepradz