On 9/25/06, Ian Bicking <[EMAIL PROTECTED]> wrote:
> Incidentally, the webhelpers could also probably be made to return
> Element instances with a custom __str__, and so they'd be Kid compatible
> as well.  Does Genshi know anything in particular about ElementTree
> instances?  Especially since ET is in 2.5, I think it would be
> reasonable to those instances as a generic representation of markup.

I believe that one of the design goals of Genshi was to provide very
precise location of errors, which led to avoidance of ET
(http://genshi.edgewall.org/wiki/GenshiFaq#SothenwhynotjustuseKid).

As Matt Good mentioned, py:def does a good job replacing some helpers,
but I think the challenge is to replace all of them with templating
engine macros. After several encounters with non-well-formed fragments
inside <textarea/> generated by formbuild, I am a bit skeptical about
helpers. It doesn't seem to be easy to internationalize their output
either.

Sergey.

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to