真正的问题:我使用的是带有2.0语法的XPATH1.0,所以下面的代码不起作用:/root/row/checks[not(taxAmount=sum(selections/tax))]/sum(selections/tax/文本())我有以下XPATH:/root/row/checks[./taxAmount/text()!=sum(./selections/tax/text())]/selections/tax/text()我想要如下内容:/root/row/checks[./taxAmount/text()!=sum(./selections/tax/text())]/sum(se