Package qm :: Package external :: Package DocumentTemplate :: Module DT_With
[show private | hide private]
[frames | no frames]

Module qm.external.DocumentTemplate.DT_With

Nested namespace access

The 'with' tag is used to introduce nested namespaces.

The text enclosed in the with tag is rendered using information from the given variable or expression.

For example, if the variable 'person' is bound to an object that has attributes 'name' and 'age', then a 'with' tag like the following can be used to access these attributes:
 <!--#with person-->
   <!--#var name-->,
   <!--#var age-->
 <!--#/with-->
Eather a 'name' or an 'expr' attribute may be used to specify data. A 'mapping' attribute may be used to indicate that the given data should be treated as mapping object, rather than as an object with named attributes.
Classes
With  

Variable Summary
str __rcs_id__ = '$Id: DT_With.py 694 2003-04-16 02:53:50Z s...
str __version__ = '694'

Variable Details

__rcs_id__

Type:
str
Value:
'$Id: DT_With.py 694 2003-04-16 02:53:50Z sc $'                        

__version__

Type:
str
Value:
'694'                                                                  

Generated by Epydoc 2.1 on Thu Sep 27 15:49:06 2007 http://epydoc.sf.net