On Tue, Jan 19, 2010 at 3:40 PM, Michael Gorven <[email protected]> wrote:
> On Tuesday 19 January 2010 10:49:28 Branko Vukelic wrote:
>> I don't think it's particularly nice that it relies on
>> BeautifulSoup... just my opinion.
>
> The reason is that it needs to rewrite links and add hidden form elements. It
> therefore needs a library which can parse, modify and serialise HTML and
> XHTML. Unfortunately there are no such libraries in the stdlib. The main ones
> I know about are BeautifulSoup, html5lib and lxml.html.

Have you seen Genshi transformer?

http://genshi.edgewall.org/wiki/Documentation/filters.html#transformer
-- 
You received this message because you are subscribed to the Google Groups 
"web.py" 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/webpy?hl=en.


Reply via email to