def __ne__(self, other): if not self.xpath("*"): return ContentValue.__ne__(self, other) else: return SequenceValue.__ne__(self, other)
def __len__(self): if not self.xpath("*"): return 2 else: return SequenceValue.__len__(self)