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