| Home | Trees | Indices | Help |
|
|---|
|
|
object --+
|
XmlComponent --+
|
DIV --+
|
BEAUTIFY
example:
>>> BEAUTIFY(['a', 'b', {'hello': 'world'}]).xml()
'<div><table><tr><td><div>a</div></td></tr><tr><td><div>b</div></td></tr><tr><td><div><table><tr><td style="font-weight:bold;"><div>hello</div></td><td valign="top">:</td><td><div>world</div></td></tr></table></div></td></tr></table></div>'
turns any list, dictionary, etc into decent looking html.
|
|||
|
|||
|
Inherited from Inherited from Inherited from |
|||
|
|||
tag = 'div'
|
|||
|
|||
|
Inherited from |
|||
|
|||
:param *components: any components that should be nested in this element :param **attributes: any attributes you want to give to this element :raises SyntaxError: when a stand alone tag receives components
|
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Wed Feb 3 10:53:20 2010 | http://epydoc.sourceforge.net |