不包含id属性并且不包含class属性 //tr[not(@id) and not(@class)] 或 //tr[not(@id) or not(@class)] 参考:https://stackoverflow.com/a/2404138/7151777