Hi!

I just tried this example similar to that from
http://genshi.edgewall.org/wiki/GenshiRecipes/PylonsWithGenshi#TheHardWay

<!DOCTYPE html
    PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
<html xmlns="http://www.w3.org/1999/xhtml";
      xmlns:py="http://genshi.edgewall.org/";
      xmlns:xi="http://www.w3.org/2001/XInclude";
      py:strip="">
  <head py:match="head">
    <title>The Title</title>
  </head>
  <body>
     <h1>hello</h1>
     ${HTML('<b>Foo</b>')}
  </body>
</html>

And i get the following error message:
<class 'genshi.template.base.TemplateSyntaxError'>: invalid syntax (/
home/webwurst/Devel/pylons/gettingstarted/helloworld/helloworld/
templates/formtest.html, line 13)

If i try ${HTML('Foo')} then it works..


What is wrong with the first example?

Cheers,
Tobias Bradtke

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to