ItemizedList#

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

Provides the itemized list element.

Methods

ItemizedList.find(_type[, terms])

Find the first type matching a given type string.

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

Find all types matching a given type string.

ItemizedList.get(entry)

Get an item from an element.

ItemizedList.has_children()

Return wether the element has children.

ItemizedList.print_tree()

Print the tree.

ItemizedList.rec_find(_type[, terms])

Find the first type matching a given type string recursively.

ItemizedList.to_rst([prefix, links, ...])

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

ItemizedList.types_repr()

Return the string types.

Attributes

ItemizedList.added

Has the revision flag added.

ItemizedList.any_isalnum

Returns True if any characters are alphanumeric.

ItemizedList.children

Children of the tree.

ItemizedList.content

Text content.

ItemizedList.id

ID of the element.

ItemizedList.next_elem

Next element.

ItemizedList.prev_elem

Previous element.

ItemizedList.raw

Raw string of the element.

ItemizedList.tag

Element tag.

ItemizedList.tail

Tail of the element as a string.

ItemizedList.text_content

Text content.

ItemizedList.title

Element title.

ItemizedList.tostring

Attributes of the element as a dictionary.