projects
/
emacs-init.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
add schema-awareness to nxml-docbook-make-common-element
[emacs-init.git]
/
nxhtml
/
tests
/
in
/
nutshell.mako
1
% for row in rows:
2
<%inherit file="base.html"/>
3
4
<%
5
rows = [[v for v in range(0,10)] for row in range(0,10)]
6
%>
7
<%!
8
rows = [[v for v in range(0,10)] for row in range(0,10)]
9
%>
10
aaa
11
<table>
12
## This is a comment.
13
% for row in rows:
14
${makerow(row)}
15
% endfor
16
</table>
17
18
<%def name="makerow(row)">
19
<tr>
20
% for name in row:
21
<td>${name}</td>\
22
% endfor
23
</tr>
24
</%def>
25
<%doc>
26
This should be a comment too...
27
</%doc>