|
Last change
on this file was
718,
checked in by cmlenz, 16 years ago
|
|
Add runtime optimization hints for match templates.
|
-
Property svn:eol-style set to
native
|
|
File size:
339 bytes
|
| Line | |
|---|
| 1 | <html xmlns="http://www.w3.org/1999/xhtml" |
|---|
| 2 | xmlns:py="http://genshi.edgewall.org/" |
|---|
| 3 | py:strip=""> |
|---|
| 4 | |
|---|
| 5 | <p py:def="greeting(name)"> |
|---|
| 6 | Hello, ${name}! |
|---|
| 7 | </p> |
|---|
| 8 | |
|---|
| 9 | <py:match path="body" once="true"><body> |
|---|
| 10 | <div id="header"> |
|---|
| 11 | <h1>${title}</h1> |
|---|
| 12 | </div> |
|---|
| 13 | ${select('*')} |
|---|
| 14 | <div id="footer" /> |
|---|
| 15 | </body></py:match> |
|---|
| 16 | |
|---|
| 17 | </html> |
|---|
Note: See
TracBrowser
for help on using the repository browser.