Where's a DOM builder that uses the Builder Pattern to ... build DOMs?

Phlip phlip2005 at gmail.com
Mon Jan 4 15:01:46 EST 2010


Not Hyp:

I hope I'm wrong, but seems that DOMBuilder, found among the various
xml.dom packages, cannot build DOM like this:

var html = DomBuilder.apply();

var form = html.FORM(
   html.DIV(
     html.INPUT({type : 'text', name : 'email'}),
     html.INPUT({type : 'text', name : 'password'}),
     html.INPUT({type : 'submit'}),
   )
);

Do anyone know any good DOM builder packages that do build DOM good
like a DOM builder should?

--
  Phlip
  http://zeekland.zeroplayer.com/Uncle_Wiggilys_Travels/1



More information about the Python-list mailing list