I wonder if you've bumped into Twiddler at all?
I've been thinking about getting lxml into the mix with it for some time.
The important bits of Twiddler for me are:
- simple api for manipulating the content you're generating. No templating languages, not funky ways of doing things, just simple python manipulating a simple object model. Probably the only thing I'm missing is being able to search with xpath for nodes.
- seperate input parser and output renderer, making things ever so much more flexible. Of course, sensible defaults are provided so you don't have to worry about this unless you want to.
I'd be very interested in your thoughts on it, and how it fits with your pipeline generation model...
I hope this blog mails me if you reply, I'd hate to miss an interesting discussion...