| Home | Trees | Indices | Help |
|
|---|
|
|
object --+
|
base.DirectiveFactory --+
|
base.Template --+
|
MarkupTemplate
Implementation of the template language for XML-based templates.
>>> tmpl = MarkupTemplate('''<ul xmlns:py="http://genshi.edgewall.org/"> ... <li py:for="item in items">${item}</li> ... </ul>''') >>> print(tmpl.generate(items=[1, 2, 3])) <ul> <li>1</li><li>2</li><li>3</li> </ul>
| Nested Classes | |
|
Inherited from |
| Instance Methods | |||
|
|||
|
|||
|
Inherited from Inherited from Inherited from |
|||
| Class Variables | |
DIRECTIVE_NAMESPACE =
|
|
XINCLUDE_NAMESPACE =
|
|
directives = A list of (name, cls) tuples that define the set of directives provided by this factory. |
|
serializer = hash(x) |
|
|
Inherited from |
|
| Properties | |
|
Inherited from Inherited from |
| Method Details |
|
Since: version 0.6 |
| Class Variable Details |
directivesA list of (name, cls) tuples that define the set of directives provided by this factory.
|
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Sun Jan 27 18:17:20 2013 | http://epydoc.sourceforge.net |