Home | Trees | Index | Help |
|
---|
Package docutils :: Module nodes :: Class topic |
|
Node
--+ |Element
--+ |Structural
--+ | topic
Topics are terminal, "leaf" mini-sections, like block quotes with titles, or textual figures. A topic is just like a section, except that it has no subsections, and it doesn't have to conform to section placement rules.
Topics are allowed wherever body elements (list, table, etc.) are allowed, but only at the top level of a section or document. Topics cannot nest inside topics, sidebars, or body elements; you can't have a topic inside a table, list, block quote, etc.
Method Summary | |
---|---|
Inherited from Element | |
| |
| |
| |
| |
Append a node or a list of nodes to self.children . | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
Return a copy of self. | |
| |
| |
| |
| |
Return the index of the first child whose class exactly matches. | |
Return the index of the first child whose class does not match. | |
| |
Return this element's children. | |
| |
| |
| |
| |
Return an indented pseudo-XML representation, for test purposes. | |
| |
| |
Replace one child Node with another child or children. | |
Add a new name to the "class" attribute. | |
| |
| |
| |
Inherited from Node | |
Node instances are always true, even if they're empty. | |
Return a DOM fragment representation of this Node. | |
| |
Traverse a tree of Node objects, calling visit_... methods of
visitor when entering each node. | |
Perform a tree traversal similarly to Node.walk() (which see),
except also call depart_... methods before exiting each node. |
Class Variable Summary | |
---|---|
Inherited from Element | |
str |
child_text_separator = '\n\n'
|
NoneType |
tagname = None |
Inherited from Node | |
NoneType |
document = None |
NoneType |
line = None |
NoneType |
parent = None |
NoneType |
source = None |
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.0 on Tue Jul 22 05:31:32 2003 | http://epydoc.sf.net |