Changes between Version 1 and Version 2 of TracDev/ApiChanges/0.11
- Timestamp:
- Sep 13, 2006, 1:15:41 PM (18 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TracDev/ApiChanges/0.11
v1 v2 22 22 23 23 Most of the time, the porting is a straightforward operation. 24 ==== expand inga variable ====24 ==== expand a variable ==== 25 25 - Clearsilver [[xml(<b><?cs var:the_variable ?></b>)]] 26 26 - Genshi [[xml(<b>$the_variable</b>)]] … … 48 48 #!xml 49 49 <py:choose test="flag"> 50 <py:when test="True >50 <py:when test="True"> 51 51 <b>OK</b> 52 52 </py:when> … … 66 66 The <py:choose>/<py:when>/<py:otherwise> is a bit heavy-weight for a simple if/else, but on the other hand, the construct is more general (think switch/case, or the equivalent choose/when/otherwise in XSLT). 67 67 68 ==== iterat ing====68 ==== iterate over a collection ==== 69 69 - Clearsilver 70 70 {{{