cssselect :: xpath :: XPathExpr :: Class XPathExpr

[hide private]
[frames] | no frames]

# Class XPathExpr

    object --+
             |
            XPathExpr

Instance Methods | [hide private]

__init__(self, path=`'````'`, element=`'``*``'`, condition=`'````'`, star_prefix=False) x.__init__(...) initializes x; see help(type(x)) for signature |

__repr__(self) repr(x) |

__str__(self) str(x) |

add_condition(self, condition) |

add_name_test(self) |

add_star_prefix(self) Append '*/' to the path to keep the context constrained to a single parent. |

join(self, combiner, other) |

Inherited from `object`: `__delattr__`, `__format__`, `__getattribute__`, `__hash__`, `__new__`, `__reduce__`, `__reduce_ex__`, `__setattr__`, `__sizeof__`, `__subclasshook__`

Properties | [hide private]

Inherited from `object`: `__class__`

Method Details | [hide private]

### __init__(self, path=`'````'`, element=`'``*``'`, condition=`'````'`, star_prefix=False)
(Constructor)

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
  (inherited documentation)

### __repr__(self)
(Representation operator)

repr(x)

Overrides: object.__repr__
  (inherited documentation)

### __str__(self)
(Informal representation operator)

str(x)

Overrides: object.__str__
  (inherited documentation)