Package lxml :: Module cssselect :: Class XPathExprOr
[show private | hide private]
[frames | no frames]

Type XPathExprOr

object --+    
         |    
 XPathExpr --+
             |
            XPathExprOr


Represents on |'d expressions. Note that unfortunately it isn't the union, it's the sum, so duplicate elements will appear.
Method Summary
  __init__(self, items, prefix)
  __str__(self)
    Inherited from XPathExpr
  __repr__(self)
  add_condition(self, condition)
  add_name_test(self)
  add_path(self, part)
  add_prefix(self, prefix)
  add_star_prefix(self)
Adds a /* prefix if there is no prefix.
  join(self, combiner, other)
    Inherited from object
  __delattr__(...)
x.__delattr__('name') <==> del x.name
  __getattribute__(...)
x.__getattribute__('name') <==> x.name
  __hash__(x)
x.__hash__() <==> hash(x)
  __new__(T, S, ...)
T.__new__(S, ...) -> a new object with type S, a subtype of T
  __reduce__(...)
helper for pickle
  __reduce_ex__(...)
helper for pickle
  __setattr__(...)
x.__setattr__('name', value) <==> x.name = value

Generated by Epydoc 2.1 on Sat Aug 18 12:44:27 2007 http://epydoc.sf.net