OrderedList#

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

Provides the ordered list element.

Methods

OrderedList.find(_type[, terms])

Find the first type matching a given type string.

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

Find all types matching a given type string.

OrderedList.get(entry)

Get an item from an element.

OrderedList.has_children()

Return wether the element has children.

OrderedList.print_tree()

Print the tree.

OrderedList.rec_find(_type[, terms])

Find the first type matching a given type string recursively.

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

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

OrderedList.types_repr()

Return the string types.

Attributes

OrderedList.added

Has the revision flag added.

OrderedList.any_isalnum

Returns True if any characters are alphanumeric.

OrderedList.children

Children of the tree.

OrderedList.content

Text content.

OrderedList.id

ID of the element.

OrderedList.next_elem

Next element.

OrderedList.prev_elem

Previous element.

OrderedList.raw

Raw string of the element.

OrderedList.tag

Element tag.

OrderedList.tail

Tail of the element as a string.

OrderedList.text_content

Text content.

OrderedList.title

Element title.

OrderedList.tostring

Attributes of the element as a dictionary.