On 18 May 2012 05:06, John W. Shipman wrote:
> My CGI script that generates a huge XHTML table has been running
> into storage limitations because it uses lxml to build the table.
> So I build a Python module that applications can use to generate
> any XML content as a stream, so you can generate arbitrarily
> large XML files with a trivial amount of storage:
> - Like Fredrik Lundh's builder.py module, it takes very little
> code to generate a lot of XML. If you're unfamiliar with this
> little gem, see here:
> - The module insures that every start tag has a matching end tag.
> Feel free to try this package out (Creative Commons BY-NC-ND
> license). I would greatly appreciate any feedback.
This sounds interesting, though the license you've picked seems to
prevent anyone actually using your software:
"No Derivative Works — You may not alter, transform, or build upon this
CC licenses are not designed for software, I suggest choosing
something more appropriate, perhaps a liberal license such as BSD/MIT
(this tends to be most appropriate for libraries and is used by lxml)
or the GPL.
Mailing list for the lxml Python XML toolkit - http://lxml.de/