SimpleList#

class pyconverter.xml2py.ast_tree.SimpleList(element, parse_children=True)#

Provides the simple itemized list element.

Methods

SimpleList.find(_type[, terms])

Find the first type matching a given type string.

SimpleList.find_all(_type[, recursive, terms])

Find all types matching a given type string.

SimpleList.get(entry)

Get an item from an element.

SimpleList.has_children()

Return wether the element has children.

SimpleList.print_tree()

Print the tree.

SimpleList.rec_find(_type[, terms])

Find the first type matching a given type string recursively.

SimpleList.to_rst([prefix, links, base_url, ...])

Return a string to enable converting the element to an RST format.

SimpleList.types_repr()

Return the string types.

Attributes

SimpleList.added

Has the revision flag added.

SimpleList.any_isalnum

Returns True if any characters are alphanumeric.

SimpleList.children

Children of the tree.

SimpleList.content

Text content.

SimpleList.id

ID of the element.

SimpleList.next_elem

Next element.

SimpleList.prev_elem

Previous element.

SimpleList.raw

Raw string of the element.

SimpleList.tag

Element tag.

SimpleList.tail

Tail of the element as a string.

SimpleList.text_content

Text content.

SimpleList.title

Element title.

SimpleList.tostring

Attributes of the element as a dictionary.