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

Type XPathExpr

object --+
         |
        XPathExpr

Known Subclasses:
XPathExprOr

Method Summary
  __init__(self, prefix, path, element, condition, star_prefix)
  __repr__(self)
  __str__(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

Method Details

add_star_prefix(self)

Adds a /* prefix if there is no prefix. This is when you need to keep context's constrained to a single parent.

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