| Home | Trees | Index | Help | 
 | 
|---|
| Package docutils :: Module nodes :: Class sidebar | 
 | 
Node--+ |Element--+ |Structural--+ | sidebar
Sidebars are like miniature, parallel documents that occur inside other documents, providing related or reference material. A sidebar is typically offset by a border and "floats" to the side of the page; the document's main text may flow around it. Sidebars can also be likened to super-footnotes; their content is outside of the flow of the document's main text.
Sidebars are allowed wherever body elements (list, table, etc.) are allowed, but only at the top level of a section or document. Sidebars cannot nest inside sidebars, topics, or body elements; you can't have a sidebar 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 Nodewith 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 Nodeobjects, calling visit_... methods ofvisitorwhen 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:30 2003 | http://epydoc.sf.net |