Quote#

class pyconverter.xml2py.ast_tree.Quote(element)#

Provides the quote element.

Methods

Quote.find(_type[, terms])

Find the first type matching a given type string.

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

Find all types matching a given type string.

Quote.get(entry)

Get an item from an element.

Quote.has_children()

Return wether the element has children.

Quote.print_tree()

Print the tree.

Quote.rec_find(_type[, terms])

Find the first type matching a given type string recursively.

Quote.to_rst([prefix, links, base_url, fcache])

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

Quote.types_repr()

Return the string types.

Attributes

Quote.added

Has the revision flag added.

Quote.any_isalnum

Returns True if any characters are alphanumeric.

Quote.children

Children of the tree.

Quote.content

Text content.

Quote.id

ID of the element.

Quote.next_elem

Next element.

Quote.prev_elem

Previous element.

Quote.quote

Quote value.

Quote.raw

Raw string of the element.

Quote.tag

Element tag.

Quote.tail

Tail of the element as a string.

Quote.text_content

Text content.

Quote.title

Element title.

Quote.tostring

Attributes of the element as a dictionary.