bin.manipulate

Module Contents

bin.manipulate.__author__ = martin[source]
bin.manipulate.__author__ = Martin Paul Eve[source]
bin.manipulate.__email__ = martin@martineve.com[source]
class bin.manipulate.Manipulate(gv)[source]

Bases: debug.Debuggable

static set_dom_tree(filename)[source]
static set_dom_tree_with_parser(filename, p)[source]
static update_tmp_file(fr, to)[source]
static get_file_text(filename)[source]
static xml_start(tag)[source]
static xml_end(tag)[source]
static append_safe(base, child, caller)[source]
return_elements(self, xpath)[source]
static search_and_replace_dom(tree, search_section, search_element, surround_with)[source]
static write_output(f, text)[source]
static try_list_of_regex(file_string, *regex)[source]
static get_stripped_text(element)[source]
static replace_value_of_tag(text, new_value)[source]
load_dom_read(self)[source]
load_dom_tree(self)[source]
replace(self, text, tag, *params)[source]