Mercurial > hg > contenttransformer
comparison example/hello.html @ 17:0ad456dbb4c5
illustrate genshi transformer
| author | Jeff Hammel <jhammel@mozilla.com> | 
|---|---|
| date | Sun, 26 Sep 2010 16:03:33 -0700 | 
| parents | 805cadc2b825 | 
| children | 
   comparison
  equal
  deleted
  inserted
  replaced
| 15:946176949bba | 17:0ad456dbb4c5 | 
|---|---|
| 1 <html xmlns="http://www.w3.org/1999/xhtml" | 1 <html xmlns="http://www.w3.org/1999/xhtml" | 
| 2 xmlns:py="http://genshi.edgewall.org/" | 2 xmlns:py="http://genshi.edgewall.org/" | 
| 3 py:strip="True"> | 3 py:strip="True"> | 
| 4 Hello, world | 4 Hello, ${request.GET.get('name')} | 
| 5 </html> | 5 </html> | 
