Edgewall Software

Changes between Version 1 and Version 2 of Ticket #296

Show
Ignore:
Timestamp:
03/12/09 09:15:09 (6 years ago)
Author:
cmlenz
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #296 – description

    v1 v2  
    33{{{ 
    44#!genshi 
    5 <?python from genshi.builder import tag ?><py:for each='field in fields'>${getattr(tag,field)}</py:for> 
     5<?python from genshi.builder import tag ?> 
     6<py:for each='field in fields'> 
     7  ${getattr(tag,field)} 
     8</py:for> 
    69}}} 
    710 
     
    1013{{{ 
    1114#!genshi 
    12 <py:for each='field in fields'><py:element name="field"/></py:for> 
     15<py:for each='field in fields'> 
     16  <py:element name="field"/> 
     17</py:for> 
    1318}}} 
    1419 
     
    1722{{{ 
    1823#!genshi 
    19 <py:for each='field in fields'><py:element name='field' py:attrs='fields[field]'/></py:for> 
     24<py:for each='field in fields'> 
     25  <py:element name='field' py:attrs='fields[field]'/> 
     26</py:for> 
    2027}}} 
     28 
    2129It would be useful if the element name could contain the namespace, ie: 
    2230