BigBrotherBot v1.8.0
System Development Information for the BigBrotherBot project.

b3::lib::elementtree::ElementPath Namespace Reference

Classes

class  xpath_descendant_or_self
class  Path
 Wrapper for a compiled XPath. More...

Functions

def _compile
 (Internal) Compile path.
def find
 Find first matching object.
def findtext
 Find text for first matching object.
def findall
 Find all matching objects.

Variables

tuple xpath_tokenizer
dictionary _cache = {}

Function Documentation

def b3::lib::elementtree::ElementPath::_compile (   path) [private]

(Internal) Compile path.

def b3::lib::elementtree::ElementPath::find (   element,
  path 
)

Find first matching object.

def b3::lib::elementtree::ElementPath::findall (   element,
  path 
)

Find all matching objects.

def b3::lib::elementtree::ElementPath::findtext (   element,
  path,
  default = None 
)

Find text for first matching object.


Variable Documentation

Initial value:
00001 re.compile(
00002     "(::|\.\.|\(\)|[/.*:\[\]\(\)@=])|((?:\{[^}]+\})?[^/:\[\]\(\)@=\s]+)|\s+"
00003     )
 All Classes Namespaces Files Functions Variables Properties