Refentrytitle#

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

Provides the title of the reference entry.

Methods

Refentrytitle.find(_type[, terms])

Find the first type matching a given type string.

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

Find all types matching a given type string.

Refentrytitle.get(entry)

Get an item from an element.

Refentrytitle.has_children()

Return wether the element has children.

Refentrytitle.print_tree()

Print the tree.

Refentrytitle.rec_find(_type[, terms])

Find the first type matching a given type string recursively.

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

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

Refentrytitle.types_repr()

Return the string types.

Attributes

Refentrytitle.added

Has the revision flag added.

Refentrytitle.any_isalnum

Returns True if any characters are alphanumeric.

Refentrytitle.children

Children of the tree.

Refentrytitle.content

Text content.

Refentrytitle.id

ID of the element.

Refentrytitle.next_elem

Next element.

Refentrytitle.prev_elem

Previous element.

Refentrytitle.raw

Raw string of the element.

Refentrytitle.tag

Element tag.

Refentrytitle.tail

Tail of the element as a string.

Refentrytitle.text_content

Text content.

Refentrytitle.title

Element title.

Refentrytitle.tostring

Attributes of the element as a dictionary.