On Tue, Jul 2, 2013 at 12:46 PM, Mike Orr <sluggos...@gmail.com> wrote:
> On Tue, Jul 2, 2013 at 12:46 AM, Mike Orr <sluggos...@gmail.com> wrote: > > On Mon, Jul 1, 2013 at 11:48 PM, Wichert Akkerman <wich...@wiggy.net> > wrote: > >> > >> On Jun 28, 2013, at 23:04 , Mike Orr <sluggos...@gmail.com> wrote: > >> > >> I'm thinking about rewriting the low-level HTML tag generator in > >> WebHelpers2, and wondering if there's an existing library that would be > >> worth using in this HTML 5/Python 2.6+ world. > >> > >> > >> In rare situations where I can't use a template library I use lxml's > >> E-factory to build HTML: http://lxml.de/tutorial.html#the-e-factory (or > >> http://lxml.de/lxmlhtml.html#creating-html-with-the-e-factory ). > > > > I thought about lxml but I think it's too big a dependency, especially > > with its C dependencies. > > Maybe I should just ask the list: is lxml suitable as a tag generator > for webhelpers2.html? Or is it too big for a general-purpose library, > not everyone of which will be generating HTML. > > > -- > Mike Orr <sluggos...@gmail.com> > > I may be in the minority about dependencies, but I really don't mind have extra dependencies if they are the right tool. It doesn't hurt that I use lxml in most of my Pyramid applications anyway. -- Jason -- You received this message because you are subscribed to the Google Groups "pylons-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to pylons-devel+unsubscr...@googlegroups.com. To post to this group, send email to pylons-devel@googlegroups.com. Visit this group at http://groups.google.com/group/pylons-devel. For more options, visit https://groups.google.com/groups/opt_out.